<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to set different chartView instances on a javascript page to display timecharts using different colors in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/how-to-set-different-chartView-instances-on-a-javascript-page-to/m-p/494457#M8905</link>
    <description>&lt;P&gt;Having read numerous posts explaining how to use "charting.seriesColors", I concluded that to set the (unique) bar color of a timechart I would need to set this property to a 1 element array (my sought after color). (note: I have something like "|timechart count " as the search associated with each ChartView)&lt;BR /&gt;However, I have several ChartView instances on my javascript page and I'd like them to use a distinct color each. When I try setting the above property on each of these charts to a distinct 1-element array (each array using a distinct color, such as "charting.seriesColors": [0xcc5068]), this does not appear to work, and all the instances end up using the same color.&lt;BR /&gt;Why is this? Is there a way to achieve what I'm looking for?&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jun 2020 18:44:59 GMT</pubDate>
    <dc:creator>pgoldweic</dc:creator>
    <dc:date>2020-06-07T18:44:59Z</dc:date>
    <item>
      <title>how to set different chartView instances on a javascript page to display timecharts using different colors</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/how-to-set-different-chartView-instances-on-a-javascript-page-to/m-p/494457#M8905</link>
      <description>&lt;P&gt;Having read numerous posts explaining how to use "charting.seriesColors", I concluded that to set the (unique) bar color of a timechart I would need to set this property to a 1 element array (my sought after color). (note: I have something like "|timechart count " as the search associated with each ChartView)&lt;BR /&gt;However, I have several ChartView instances on my javascript page and I'd like them to use a distinct color each. When I try setting the above property on each of these charts to a distinct 1-element array (each array using a distinct color, such as "charting.seriesColors": [0xcc5068]), this does not appear to work, and all the instances end up using the same color.&lt;BR /&gt;Why is this? Is there a way to achieve what I'm looking for?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 18:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/how-to-set-different-chartView-instances-on-a-javascript-page-to/m-p/494457#M8905</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-06-07T18:44:59Z</dc:date>
    </item>
  </channel>
</rss>

