The workflow for creating a chart is easy.
- Specify your data
- Customize your chart
- Share your chart
Specify your data
Chart builder offers two methods for specifying the data you want to see in a chart: basic mode and advanced (NRQL) mode.
Use basic mode
You may, for example, be asked for information about how many cities outside of the United States are accessing the shopping site for your company. Basic mode guides you through the process of:
- Choosing your data source. In basic mode, you’ll start by selecting an event and then choosing the attribute that corresponds to the information to show in your chart.
- Specifying the data for your chart using filtering. You can narrow the results and choose an attribute to facet by.
- Selecting the time range to present in the chart. You can select a time range from the menu or use the custom option to create your own time range.
See Use basic mode to specify data for more information about this feature.
Use advanced (NRQL) mode
With the advanced (NRQL) mode you can create your own queries using the NRQL query language. NRQL queries may be simple or complex, depending on what data you want to use and how to display it in your chart. This example of the advanced mode shows the NRQL query with the same data as used in basic mode.
See Use advanced (NRQL) mode to specify data for more information about using this feature.
You can switch between basic and advanced modes while defining your data, whether you want to customize some of the values or just to learn about how NRQL queries are structured using the data you specified in basic mode.
If your query was started using basic mode and if you make changes to that query using advanced (NRQL) mode, you cannot return to basic mode to edit that query. Any additional changes may only be done in advanced (NRQL) mode.
Once you have specified the data you want to view, your chart is ready to view. Your query will automatically run in basic mode as you make changes to the inputs. If using advanced (NRQL) mode, run your query.
Customize your chart
Based on the data you specified, chart builder selects the chart type that displays your results most effectively. However, you can choose from other available chart types to present your data in the visual format that you want to use.
In this example, you run a query to get information about the response time of your application.
Chart builder uses the line chart type to display the data. Chart builder also lists other options for displaying your data. This example shows the area chart type:
Depending on your data, not all chart types will be appropriate for your data. For example, for the chart we’ve been viewing, the pie chart type would not present the information in a meaningful way.
Share your chart
To share a chart: select Share. Available share options include:
Image
Description | IMAGE |
Link
Description | IMAGE |
Comma-separated value
Description | IMAGE |
JSON
Description | IMAGE |
Use your charts has detailed information about sharing charts.