Struggling to set BarWidth to the width I want in an second pane.
Is this the same issue?
https://supportcenter.devexpress.com/ticket/details/t811576
Should it be fixed in latest version 20.2.4 ? Don't work in my project.
Attached image shows barwidth in second pane in my project. I want to set the BarWidth wider, but they show up like below, 1px wide no matter what i do.
Hello,
Thank you for your screenshots. However, it is not clear how the issue occurred. Could you please send us a small runnable sample of your Chart's configuration? You can use our Visual Studio template to create a sample project. Alternatively, you can also use our jQuery demos as a template by clicking
Copy to CodePen
. This will help us give you a more precise response.Hi ,
Attached is chart code and datasource data.
Thanks
Geir.
Hi Geir,
To diagnose the issue, I need to test your configuration in a sample project.
I'm not sure how to restore your data from an XML file. Would you please convert it in JSON or share server-side code that parses it in .NET objects?
Could you answer if the fix described in this ticket https://supportcenter.devexpress.com/ticket/details/t811576 is part of version 20.2.4 ?
I have attached the data in Json format.
Hello Geir,
We reproduced the issue: CodePen.
The issue from the ticket T811576 looks similar but it is not related to the issue in your Chart.
Despite the fact that your chart has multiple panes, it has only one argument axis. We calculate a minimal interval for this axis based on data of all chart series and bars. Since there are series with a minimum spread of data, which is less than a minute, the chart takes this interval and applies it to the bars. This is done so that the bars do not overlap. So, your bars are displayed as thin lines.
We don't have a solution for this scenario and need additional time to research it to find a suitable one.
As a workaround, I suggest you change your chart type to "area" or "line":
s.Add().ValueField("SumDeliveredTotalizerHours") .Pane("Delivered") .Name("Levert siste time") .ArgumentField("ToHour") .Type(SeriesType.Line) .BarWidth(40) .BarOverlapGroup("ToHour");
P.S. Would you mind if I mark this ticket public so that other customers can find it?