Zero Plane - change value
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Zero Plane - change value Expand / Collapse
Author
Message
Posted 3/22/2007 7:56:17 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 4/28/2007 2:53:09 PM
Posts: 10, Visits: 26
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.
Post #607
Posted 3/22/2007 8:59:19 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 4/28/2007 2:53:09 PM
Posts: 10, Visits: 26
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.

Post #608
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 6:11pm


Execution: 0.047.