If you check the multiple data sets example, you will notice that if at least one data set is selected for comparing, the chart displays the value change in percent from the beginning of a selected period, instead of real values. That's why the first value is always equal to 0. This is common practice in stock charts, as the value difference between different stocks may be very big and it would be impossible to compare them. However, as Stock Chart might be used for a lot of different purposes, a lot of users are asking for a way to make the chart display real values. The answer is simple, you should set:
<charts> <chart> <comparing> <recalculate>false</recalculate>
Notice, this setting doesn't affect the legend. If your legend displays percents, you should modify legend settings. Find <date_comparing> and <period_comparing> settings, and delete ".percents" from these settings, for example, instead of:
<date_comparing key="true" title="true"><![CDATA[{close.percents}]]></date_comparing>
you should have:
<date_comparing key="true" title="true"><![CDATA[{close}]]></date_comparing>
| © Antanas Marcelionis Contact and feedback: info@amcharts.com | Subscribe to amCharts news |