The MindFusion Forums | |
Gauge and Chart Components >> Windows Forms >> Horizontal bar chart not supported on Logarithmic scale
https://mindfusion.eu/Forum/YaBB.pl?num=1504114236 Message started by abhi dhotre on Aug 30th, 2017 at 5:30pm |
Title: Horizontal bar chart not supported on Logarithmic scale Post by abhi dhotre on Aug 30th, 2017 at 5:30pm
Bar chart works while using a logarithmic scale but when I change the orientation of the chart to horizontal it throws an exception. Same is the case when I set bar chart layout to stack instead of side by side.
Thanks Abhi D |
Title: Re: Horizontal bar chart not supported on Logarithmic scale Post by Slavcho on Aug 31st, 2017 at 5:49am
The following changes in LogChart example will display X as logarithmic scale -
Code (] public Form1() { //... originalData.YAxisLabelsDataField = "Labels"; //... barChart.XAxis.CustomFormat = new LogCustomFormatter(); barChart.XAxis.Interval = 1; barChart.XAxis.MaxValue = 8; //... barChart.ShowYCoordinates = false; barChart.HorizontalBars = true; } DataTable CreateSampleData() { //... row[0):
Regards, Slavcho |
Title: Re: Horizontal bar chart not supported on Logarithmic scale Post by abhi dhotre on Sep 6th, 2017 at 6:30pm
This code works only if I use side by side bar layout. I want to have stack bar layout, it gives me overflow error if I use stack bar layout
|
Title: Re: Horizontal bar chart not supported on Logarithmic scale Post by Slavcho on Sep 6th, 2017 at 7:46pm
The LogChart example does not throw exception if I switch to stacked bars. What call stack does the debugger show when it happens for you?
|
The MindFusion Forums » Powered by YaBB 2.6.11! YaBB Forum Software © 2000-2024. All Rights Reserved. |