Flashchart Sample 9

Usage of parameters "alert_value" with line charts

Move mouse pointer to the stars on lines to see tooltip.
also have look on all defined parameters...

Chart Parameter: {flashchart height="250" tooltip="#x_label#: #val#€ for #legend#" type="line_star" title="Revenue by Month" "data="January,February,March,April,May,June/5000,6000,10000,8000,15000,10000|4000,10000,11900,6000,11000,5000" t_fontsize="15"
alert_tooltip="in #x_label# revenue #val#€ for #legend# <br> is higher than expected|in #x_label# revenue #val#€ for #legend #<br>is lower than expected"

legend="Books,DVDs" y_step="5000" y_max="20000" y_min="2000" line_animation="0" dimension="€" log_scaley="1"}sample09{/flashchart}

Note: Stars on lines will have assigned color "ff0000" (the default - red) and assigend "alert_tooltip" if their data value is greater ("gt") than "10000" or lower than ("lt") 6000.
With line charts you can specify "magic value" #legend# it will be filled with values from legend (here "Books,DVDs").

 Important: If you want to test this sample via copy/paste, ensure that you paste with option "paste as plain text" otherwise imbedded html-codes may invalidate your input.



Today: 5
Yesterday: 169
This Week: 403
Last Week: 678
This Month: 2,111
Last Month: 2,510
United States 30.7% USA
Germany 19.1% Germany
Russia 4.4% Russia
France 3.4% France
Indonesia 2.6% Indonesia
Italy 2.6% Italy
India 2.2% India
Poland 2.1% Poland
Spain 2.1% Spain




We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.