How to use parameter "alert_value"
Also have a look at the other parameters...
Chart Parameter: | {flashchart width="90%" height="350" type="bar_dome" data="database" sql="Select title, hits From jos_content Order By hits Desc Limit 10" title="Articles read by Visitors" tooltip="#val# hits" x_label_rotate="40" alert_value="50000,gt" alert_color="ff000f" alert_tooltip="#val# hits <br> higher than expected!"}sample_008{/flashchart} |
{flashchart width="90%" height="350" type="bar_dome" data="database" sql="Select title, hits From jos_content Order By hits Desc Limit 10" title="Articles read by Visitors" tooltip="#val# hits" x_label_rotate="40" alert_value="50000,gt" alert_color="ff000f" alert_tooltip="#val# hits
higher than expected!"}sample_008{/flashchart}
higher than expected!"}sample_008{/flashchart}
Note: All bars will be shown with color "ff000f" (red) and assigend "alert_tooltip" if their data value is greater ("gt") than "50000".
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.
back...