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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Build resilience for the agentic era: Join us at Splunk Go San Jose

AI is changing how organizations build, operate, and secure digital services. As teams adopt AI agents and ...

Manage Edge Processor pipelines end to end with APIs

This guide uses the Data Management APIs to create an Edge Processor, onboard one instance, deploy a pipeline ...