XML/SWF Charts| SlickBoard| Timeline Eons(New)

 < previousnext > 

 

chart_data link

 

<chart_data>
   ...
   <number link='string' target='string'>...</number>
   ...
</chart_data>
                             


Description

In addition to containing the chart values, chart_data can be used to override link_data and link each data graph to a different URL. To override the link_data URL, add a link attribute and a URL value to the corresponding chart_data's <number> tag.

To override link_data by adding the link attribute to chart_data, it is necessary to include link_data in your code first.

This feature is available to registered users only. Unregistered software links all charts to this website.

 

Example

<chart>

   <!-- use link_data to link the data graphs to link_data.php -->   
   <link_data url='link_data.php' target='_blank' />   

   <!-- override the first green graph to link it to google -->
   <!-- override the second green graph to link it to yahoo in the same window -->   
   <chart_data>
      <row>
         <null/>
         <string>2007</string>
         <string>2008</string>
         <string>2009</string>
      </row>
      <row>
         <string>Region A</string>
         <number link='http://www.google.com'>63</number>
         <number link='http://www.yahoo.com' target='_self'>30</number>   
         <number>10</number>
      </row>
      <row>
         <string>Region B</string>
         <number>20</number>
         <number>65</number>
         <number>55</number>
      </row>
   </chart_data>   
  
</chart>

 

 < previousnext > 


Copyright 2003-2014, maani.us