- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to build custom charts using Splunk Highcharts
ram1042
New Member
08-30-2016
01:02 AM
I need to develop a custom donut chart using Highcharts API. I came to know that Splunk internally uses Highcharts for visualization and I am planing to leverage the API and build a custom chart. I am not clear on how to define and use Hightcharts in Splunk. Below is the code snippet I have used, which is throwing error as "Uncaught ReferenceError: Highcharts is not defined"
require([
"splunkjs/mvc",
"underscore",
"splunkjs/mvc/searchmanager",
"splunkjs/mvc/simplexml/ready!",
"highcharts"
], function(
mvc,
_,
SearchManager,
HighCharts
) {
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

zeinstein
Path Finder
04-05-2017
06:04 AM
Try putting "highcharts"
before "splunkjs/mvc/simplexml/ready!"
in the require
part.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

ram_sistla
Engager
08-16-2019
06:29 AM
Thanks this solution worked.
