Hello,
I'm experiencing the following issue when charting. Depending on what decimal precision I place on the Y axis, the chart is displayed incorrectly. Namely, given the following data set:
select convert(date, '06/12/2012') [x], 0.613543871872348 [y] union all
select convert(date, '06/13/2012') [x], 0.595304106858786 [y] union all
select convert(date, '06/14/2012') [x], 0.590575835227838 [y] union all
select convert(date, '06/15/2012') [x], 0.56721923494886 [y] union all
select convert(date, '06/18/2012') [x], 0.546753237797163 [y] union all
select convert(date, '06/19/2012') [x], 0.526170496948677 [y] union all
select convert(date, '06/20/2012') [x], 0.532080328306811 [y] union all
select convert(date, '06/21/2012') [x], 0.528756823296992 [y] union all
select convert(date, '06/22/2012') [x], 0.528279124303445 [y] union all
select convert(date, '06/25/2012') [x], 0.531240592963053 [y] union all
select convert(date, '06/26/2012') [x], 0.538334628794839 [y] union all
select convert(date, '06/27/2012') [x], 0.549074192204391 [y] union all
select convert(date, '06/28/2012') [x], 0.533224652254112 [y] union all
select convert(date, '06/29/2012') [x], 0.534688837556707 [y] union all
select convert(date, '07/02/2012') [x], 0.524586825683296 [y] union all
select convert(date, '07/03/2012') [x], 0.523288079639858 [y] union all
select convert(date, '07/05/2012') [x], 0.45793995079259 [y]
order by x asc
when I plot this and use 1 decimal place precision on the Y axis, the chart is displayed incorrectly. For example, the last point ( 0.45793995079259) is displayed as being above 0.5. However, if I set the precision to 2 places, the graph is correct. The setting are :
Always include zero unchecked
Interval 0.1
This should be quite easy to replicate as the query is not bound to any schema. Is this a known issue or am I doing something wrong? I also noticed that if I shrink the data set a little, the problem disappears. Any ideas?
PS: I tried to include images but was told I cant untill my account is verified. Could someone tell me how to get that done?
Thanks Stas