Hello,
i also used the Splunk 6 Dashboard Examples and tried to recreate the view "Custom Chart Overlay" in my own app. I also get the table in the view, but both graphics ("Line+Bar Chart" and "with Auto-Discovery") are not rendered.
Here is what I did:
- Created a app with template "barebone"
- Copied the required files over
- custom_chart_overlay.xml
- ./appserver/static/custom_chart.js
- ./appserver/static/custom_chart.css
- ./appserver/static/autodiscover.js
- ./appserver/static/dashboard.js
- ./appserver/static/dashboard.css
- ./appserver/static/components/d3/*
When comparing the HTML source of the files, I see that the original panel also links to dashboard.css/.js, custom_chart.css/.js and autodiscover.js. But these do not show up in my new panel, even though these files are copied. Can someone please show me what I am missing here?
Thank and best regards,
Oliver
It seems the parser for the
It seems the parser for the
I just converted the SimpleXML view to a HTML view and edited the source to include the stylesheet and script links to the .css and .js files. This gave working graphs. So it's about those .js files, that are for some reason left out by the SimpleXML view.