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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...