<?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 Re: Display 2 charts at the same timing alignment and with the same color of  each series ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67088#M16761</link>
    <description>&lt;P&gt;Just tried this, provided the legends have the same text the colors should be the same in the 2 charts.  The only alignment issues are because the widths of the text on the right hand side axis could be different ( which is easily remedied by moving the axis to the right )&lt;/P&gt;

&lt;P&gt;The bigger problem would be having null values for some of the fields which would prevent the 'null columns being plotted, but you can work around this with something like :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chart sum(eval(if(isnotnull(TransactionValue),TransactionValue,0))) as TransactionValue over BusinessDay by TransactionType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Why aren't they lining up for you ?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Dec 2012 15:09:53 GMT</pubDate>
    <dc:creator>jonuwz</dc:creator>
    <dc:date>2012-12-19T15:09:53Z</dc:date>
    <item>
      <title>Display 2 charts at the same timing alignment and with the same color of  each series ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67085#M16758</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a search like : total value of each transaction type for each business day&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="test1" sourcetype="ObjTransaction" | chart sum(TransactionValue) over BusinessDay by TransactionType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and another is  number of events of each transaction type for each business day&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="test1" sourcetype="ObjTransaction" | chart count as number over BusinessDay by TransactionType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can i display 2 colunm chars such that they have same vertical alignment basing on BusinessDay( time with unit is day) and have the same color for each TransactionType ?&lt;/P&gt;

&lt;P&gt;For ex: In column chart of number of events of each business day,on the 10/12/2012: there are 2 transactions A and B&lt;/P&gt;

&lt;P&gt;A has blue color and its number of events is 10, B has red color and its number of events is 20&lt;/P&gt;

&lt;P&gt;In column chart of total value of each businessday, similarly, A, B have the same color as previous chart, means A in blue color with its value is 102$, et B in red color with its value = 80$&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 15:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67085#M16758</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-12-18T15:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 charts at the same timing alignment and with the same color of  each series ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67086#M16759</link>
      <description>&lt;P&gt;I'm not sure I understand you, but would:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="test1" sourcetype="ObjTransaction"
| chart count as number, sum(TransactionValue) by BusinessDay,TransactionType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;work for you?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 19:15:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67086#M16759</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-12-18T19:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 charts at the same timing alignment and with the same color of  each series ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67087#M16760</link>
      <description>&lt;P&gt;No, what i want is 2 column charts that have the same vertical alignment, so that i can see clearly how many event of one particular transaction type in one specific day, and  its sum value corresponding.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 21:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67087#M16760</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-12-18T21:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 charts at the same timing alignment and with the same color of  each series ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67088#M16761</link>
      <description>&lt;P&gt;Just tried this, provided the legends have the same text the colors should be the same in the 2 charts.  The only alignment issues are because the widths of the text on the right hand side axis could be different ( which is easily remedied by moving the axis to the right )&lt;/P&gt;

&lt;P&gt;The bigger problem would be having null values for some of the fields which would prevent the 'null columns being plotted, but you can work around this with something like :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chart sum(eval(if(isnotnull(TransactionValue),TransactionValue,0))) as TransactionValue over BusinessDay by TransactionType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Why aren't they lining up for you ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 15:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67088#M16761</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-12-19T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 charts at the same timing alignment and with the same color of  each series ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67089#M16762</link>
      <description>&lt;P&gt;You can see clearly what are not lining up in 2 figures. The first is the Y axis' scale value and second is number of transaction types for each day, especially on 31/10/2012, there is no event 10 in the first figure. So how to fix X axis width for their vertical alignment, let transaction types be appearing similarly in 2 figures? &lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/chart.bmp" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 13:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67089#M16762</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-12-20T13:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 charts at the same timing alignment and with the same color of  each series ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67090#M16763</link>
      <description>&lt;P&gt;It's good for their color in 2 figure as Splunk automatically detects them, but for alignment,  you can see my extra added information with figures above&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 13:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67090#M16763</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-12-20T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 charts at the same timing alignment and with the same color of  each series ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67091#M16764</link>
      <description>&lt;P&gt;try doing &lt;CODE&gt;chart limit=0 ...&lt;/CODE&gt;  chart picks the top 10 by default, so if the top 10 are different in each graph, they wont match (some will be missing)&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 17:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-2-charts-at-the-same-timing-alignment-and-with-the-same/m-p/67091#M16764</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-12-20T17:04:42Z</dc:date>
    </item>
  </channel>
</rss>

