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!

Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...