Sign in to follow this  
ader

Zero Plane - change value

Recommended Posts

Is it possible to change the Zero plane value so that I can create a chart with bars above and below an "Zero Plane Axis" where the x axis value is not Zero but a different value e.g. 100 ?

 

 

 

If this isn't currently possible with the charts provided at present can someone point me at the specific class files to modify myself ?

 

 

 

 

 

ade.

Share this post


Link to post
Share on other sites

ok, it looks like this is not possible by just specifying in the xml. so I burrowed around in the class files.

 

If the following line

this.config.basePlanePos = this.getAxisPosition (0, this.config.yMax, 
this.config.yMin, this.elements.canvas.y, this.elements.canvas.toY, true, 0);

 

in Column2DChart.as is changed to:

 

this.config.basePlanePos = this.getAxisPosition (100, this.config.yMax, 
this.config.yMin, this.elements.canvas.y, this.elements.canvas.toY, true, 0);

 

then this moves the column x axis to move to 100 and I can then add a trendline also at 100 for my new x axis.

 

 

:)

 

ade.

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