Hello there !<br />
<br />
I have a simple dataset that consists on just a :<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>select * from my_table where CreationDate BETWEEN ? AND ?</pre>
<br />
In my table, I have two important informations that I need for my chart : Price and CreationDate.<br />
<br />
I must build a chart like this :<br />
<br />
<img src='
http://i.stack.imgur.com/gUHO2.png' alt='Posted Image' class='bbc_img' /><br />
<br />
The only thing I need to do is to show only the month for the X-axis and to make each serie (here represented as a line) representing one year. The goal is to compare the sum of the price per month, for each year.<br />
<br />
What I'm trying to get should approximately look like this :<br />
<br />
<img src='
http://i.stack.imgur.com/Iwajb.png' alt='Posted Image' class='bbc_img' /><br />
<br />
(Sorry for the quality, I'm not that good with GIMP

)<br />
<br />
The first issue is that I tried to set the X-axis to something like <pre class='_prettyXprint _lang-auto _linenums:0'>BirtDateTime.month(row["CreationDate"])</pre> but it throws me this error :<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>Fail to compute value from sort, group or filter expression.</pre>
<br />
The second issue is to set different parameters for each serie :<br />
<br />
- For the first serie, it should be : "2011-01-01" AND "2011-12-31"<br />
- For the second serie, it should be : "2012-01-01" AND "2012-12-31"<br />
<br />
Has anyone faced this case, and how did you solved it ?<br />
<br />
Thank you.