Skip to content

Commit

Permalink
Image update for Change widget (#17290)
Browse files Browse the repository at this point in the history
* Change widget update image

* Added image alt text and removed old images from repo
  • Loading branch information
estherk15 authored Mar 15, 2023
1 parent 56853de commit 120dc72
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions content/en/dashboards/widgets/change.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ further_reading:
---
The Change graph shows you the change in a metric over a period of time:

{{< img src="dashboards/widgets/change/change.png" alt="Change graph" >}}
{{< img src="/dashboards/widgets/change/change_widget.png" alt="Example of a change widget for jvm.heap_memory metric" style="width:100%;" >}}

## Setup

Expand All @@ -41,25 +41,24 @@ The Change graph shows you the change in a metric over a period of time:
8. Choose `ascending` or `descending` ordering.
9. Choose whether to display the current value in the graph.

### Display preference
### Options

Choose whether your widget uses a custom time frame or the dashboard's global time frame.
#### Context links

### Title

Choose a custom title for your widget, or leave the form blank to use a generated title.
[Context links][1] are enabled by default, and can be toggled on or off. Context links bridge dashboard widgets with other pages (in Datadog, or third-party).

## API

This widget can be used with the **Dashboards API**. See the [Dashboards API documentation][1] for additional reference.
This widget can be used with the **Dashboards API**. See the [Dashboards API documentation][2] for additional reference.

The dedicated [widget JSON schema definition][2] for the change widget is:
The dedicated [widget JSON schema definition][3] for the change widget is:

{{< dashboards-widgets-api >}}

## Further Reading

{{< partial name="whats-next/whats-next.html" >}}

[1]: /api/v1/dashboards/
[2]: /dashboards/graphing_json/widget_json/
[1]: /dashboards/guide/context-links/
[2]: /api/latest/dashboards/
[3]: /dashboards/graphing_json/widget_json/
Binary file removed static/images/dashboards/widgets/change/change.png
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 120dc72

Please sign in to comment.