- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fieldColors not working for Bar chart
Hi,
I've read a couple of post in splunkbase about changing colours in bar chart however I couldn't find any of the solutions working.
Here is my splunk graph : imgur link
and here is an excerpt from advanced xml page:
( pasting xml code directly into the post didnt work ). Unfortunately splunk doesn't pick up field colors and displays default ones.
Does anyone have an idea how to solve that problem ?
Cheers
Jakub
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had a similar problem and discovered that this doesn't work:
<param name="charting.fieldColors">
{0xFF0000,0x00FF00,0x0000FF}
</param>
But this does:
<param name="charting.fieldColors">{0xFF0000,0x00FF00,0x0000FF}</param>
Seems like something about the line breaks in the parameter breaks the functionality.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently fieldColors and seriesColors work for FlashChart but not for JSChart
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you share how did you do that? I have the same problem
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To use different colours I've modified JSChart module to use param: seriesColors as colorPalette
