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: 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.