JavaScript charts Flex charts WPF & Silverlight charts Flash maps Flex maps
amCharts the best javascript charts *
Home Home
Products Products
Download Download
Buy Buy
FAQ FAQ
Documentation Documentation
Support forum Support forum

2007-08-23 Display values in the legend

Line chart v 1.2.5 has a great new feature - you can display values in the legend. Check this example and try to move your mouse over the plot area.

http://www.amcharts.com/line/

Here are all possible settings for values in the legend:

<legend>
......
   <values>
      <enabled>true</enabled>
      <width></width>
      <align></align>
      <unit></unit>
      <unit_position></unit_position>
       <text><![CDATA[{value}]]></text>
   </values>
......
</legend>

Update:
instead of setting unit and unit position now you can format value useing HTML. This allows you to  display {description}, {series}, {percents} in the legend too.

<unit> and <unit_position> will work too.


amCharts for WPF RSS feed Subscribe to our RSS feed to be notified about new releases and updates.
<< Previous | Next >>
© amCharts | About us | Contact and feedback: info@amcharts.com Subscribe to amcharts news feed by e-mail or RSS reader Follow amCharts on Twitter * many people say so ;)