FlashChart - Sample 15

Show Trendline (Parameter "show_trend")

Also have a look at rest of parameters...

Chart Parameter: {flashchart title="Revenue 2000 to 2009" width="80%" height="350" type="line"
show_trend="1" show_regression_formula="1"
data="file" file="data/linedata.txt" x_legend="Year 200x" y_legend="Revenue in 1000€" legend_fontsize="11" line_animation="0" tooltip="in 200#x_label#: #val#"}sample0015{/flashchart}

The displayed trendline has been calculated by flashChart's builtin regression feature. The legend (key) "Trend" has click-attribute "toggle-visibility" asigned - if you click it, the trendline will be hidden or displayed.

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: 76
Yesterday: 43
This Week: 234
Last Week: 555
This Month: 813
Last Month: 570
United States 34.5% USA
Germany 14.3% Germany
Russia 4.8% Russia
France 3.4% France
Indonesia 2.6% Indonesia
Italy 2.6% Italy
India 2.4% India
Poland 2.2% Poland




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.