Page 1 of 1

Horizontal Bar Gaph

Posted: Fri Jul 15, 2011 4:08 pm
by 8123522
Is it possible to have the scale of the Horizontal Bar Graph at the top of the graph rather than the bottom

Re: Horizontal Bar Gaph

Posted: Mon Jul 18, 2011 8:30 am
by 10050769
Hello MikeTheLad,

Yes is possible. To achieve it you must change the property HorizAxis of Series that defines to which Horizontal Axis ( Top or Bottom axis ) the Series will be horizontally scaled. You can do somenthing as next code:

Code: Select all

   HorizBar horizBar = new HorizBar(tChart1.Chart);
            horizBar.FillSampleValues();
            horizBar.HorizAxis = HorizontalAxis.Top;
I hope will helps.

Thanks,