Dashboards & Visualizations

ChartTypeFormatter

vaishnavi07
Explorer

Hi i want to provide options for selecting different graph types like pie,scatter etc. I have used the ChartTypeFormatter and the dropdown is displaying but the chart is not getting changed.


index=winserver_process sourcetype="PerfmonMk:Process" host="$host$" $Process$ | timechart span=$spantime$m $statistic$($column$) by instance

results




right
line
Time

$statistic$($column$)
$column$ for processes

connect

300px
100%


flashtimeline

Am i using the module in the correct place or should i add anything else to the module?

Tags (1)
0 Karma

vaishnavi07
Explorer

The problem got solved. I included the ChartTypeFormatter module just above the JSChart module.

0 Karma

vaishnavi07
Explorer

Am still searching for an answer. If anyone knows how to use the chartTypeFormatter then help me in resolving this issue. Thanks in advance.

0 Karma

vaishnavi07
Explorer

Ya sorry i missed it. Now i have edited the code.

0 Karma

somesoni2
Revered Legend

I don't see any 'ChartTypeFormatter' module in your code here.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...