Sign in to follow this  
djzlouk

trendLines & categories

Recommended Posts

Hi,

 

 

 

I see that I can put a lots of trendLines on a chart and it's very simple.

 

 

 

Want I want to do now is a trendLine on a categorie.

 

 

 

Imagine :

 

Target 1 on Jan

 

Target 2 on Feb

 

Target 3 on Mar

 

...

 

So is it possible ?

 

 

 

Thank you

Share this post


Link to post
Share on other sites

Hi,

Could you please follow this?

Vertical data separator lines

vLines are vertical separator lines that help you separate blocks of data. These lines run through the height of the chart, thereby segregating data into different blocks. In case of bar charts, they are horizontal and run through the width of chart.

 

For example, if you're plotting a chart showing monthly sales from October 2005-Mar 2006, you might want to plot a vertical separator line between Dec 2005 and January 2006 to indicate end of year.

 

In single series charts, the vertical lines are used as under:

<set label='Oct 2005' value='35456' />

<set label='Nov 2005' value='28556' />

<set label='Dec 2005' value='36556' />

<vLine color='FF5904' thickness='2' />

<set label='Jan 2006' value='45456' />

<set label='Feb 2006' value='35456' />

 

In multi-series charts, it is used between <category> elements as under:

<categories>

<category label='Oct 2005' />

<category label='Nov 2005' />

<category label='Dec 2005' />

<vLine color='FF5904' thickness='2' />

<category label='Jan 2006' />

<category label='Feb 2006' />

</categories>

 

You can configure the cosmetics of vertical separator lines using the following attributes:

Attribute Name Type Range Description
color Color Hex Color This attribute defines the color of vertical separator line.
thickness Number In Pixels Thickness in pixels of the vertical separator line.
alpha Number 0-100 Alpha of the vertical separator line.
dashed Boolean 0/1 Whether the vertical separator line should appear as dashed?
dashLen Number In Pixels If the vertical separator line is to appear as dashed, this attribute defines the length of dash.
dashGap Number In Pixels If the vertical separator line is to appear as dashed, this attribute defines the length of dash gap.
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this