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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...