--- id: chart-search-results title: Chart Search Results description: In the Aggregates tab, in addition to the standard table view, you can view search results as a chart, such as a bar or column chart. slug: /help/docs/search/get-started-with-search/search-basics/chart-search-results/ canonical: https://www.sumologic.com/help/docs/search/get-started-with-search/search-basics/chart-search-results/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; In the **Aggregates** tab, in addition to the standard table view, you can view search results as a chart, such as a bar or column chart. Only search results that have been aggregated using a group or aggregate operator can be charted. See [Group or Aggregate Operators](/docs/search/search-query-language/group-aggregate-operators) for a list.  When charting aggregate results from a query, the grouping function defines the plotted values on the one axis, and the grouping operator determines the values on the other axis. For example, **group by `_sourceHost`** produces a bar or point for each host. If you're using multiple group-by functions, a separate bar or point represents each set of grouped results. ### Chart aggregate results Follow the below instructions to chart aggregate the results: 1. From a search, run an aggregate query. 1. From the **Aggregates** tab, click a graph button on the **Aggregates** tab. aggregates For this example, you can see a bar chart, but you can pick from any of the available charting options, see [Chart Panel Types](/docs/dashboards/panels) for details. ### New Visualization The **New Visualization** feature enables the new chart visualizations for your log search, allowing you customize each chart by modifying the available settings and providing a unified experience across the Sumo Logic platforms. * **Data**. This section represents the data that has been used to plot the chart. Toggle the **Round data point** ON/OFF the round off to the value in tooltip. * **Visual Settings**. Allows you to further customize your chart. The other customizing properties include: [**Color Palette**](/docs/dashboards/panels/modify-chart/#modifydisplay-settings), [**Fill Opacity**](/docs/dashboards/panels/modify-chart/#modifydisplay-settings), [**Marker Type**](/docs/dashboards/panels/modify-chart/#modifydisplay-settings), and [**Dimensions**](/docs/dashboards/panels/modify-chart/#modifychart-axes) (x, y, and z). Log query charts properties new Charts will appear in **New Visualization** style by default. If you prefer to use the **Classic Visualization** UI, click the **Classic Visualizations** button, then in the popup window, click **Switch to Classic Visualizations** to proceed.   Switch to classic visualizations ## FAQ ### Why are the chart options not available? Your data may be a string data type instead of a number. Most aggregate operators will cast your data to a number, operators like `first` and `last` do not. You can cast your data to a number if needed using the `num` operator. Example: ```sumo _sourceCategory=concierge completed execution | parse "Execution duration: * s" as duration | timeslice 5m | first(duration) as duration by _timeslice | num(duration) | sort by duration ``` For details on casting your data to a string or numeric data type see [Casting Data to a Number or String](/docs/search/search-query-language/search-operators/manually-cast-data-string-number) for details.