Hi! Can we currently create a bar chart with a chart overlay in a dashboard studio?
Hi @yvassilyeva! You can use an overlay in a bar chart with the overlayFields option in the source code. Here's an example from our Examples Hub for a field named host8:
{ "type": "splunk.column", "options": { "overlayFields": "host8" }, "dataSources": { "primary": "ds_search2" }, "title": "Overlay", "context": {} }
@mpalarchio is it possible to have spaces in the overlay field?
This is not working:
Hi @yvassilyeva! You can use an overlay in a bar chart with the overlayFields option in the source code. Here's an example from our Examples Hub for a field named host8:
{ "type": "splunk.column", "options": { "overlayFields": "host8" }, "dataSources": { "primary": "ds_search2" }, "title": "Overlay", "context": {} }
@mpalarchio Hey Thank You for the reply! I was stucked with this column chart configuration and it worked 100% 🙂
@mpalarchio Thank you, that worked! Have you done multiple overlay chart that you can View by Axis - that's the option in classic dashboards?
Glad to hear you got it working! For reference, you can also find the full list of options for bar charts in our documentation here: https://docs.splunk.com/Documentation/SplunkCloud/latest/DashStudio/chartsBar