Bad Alignment in a bar code if I have only 2 series
Hi All,
if I try to plot only 2 series, the right one is cut and not well aligned .
I would like to see a distance between the right line as it happensa to the left, here an example :
is there a way to fix it?
thank you
Davide
SIGN IN To post a reply.
5 Replies
SK
Sanjith Kesavan
Syncfusion Team
September 28, 2018 06:14 AM UTC
Hi Davide,
Thanks for contacting Syncfusion support. We have analyzed your query and prepared sample as per your requirement. In our sample, we have created the chart with two points “A” and “B” as per your screenshot. Column in right side is rendering properly without any clipping. Please find the below screenshot.
In the below link, we have attached sample for your reference.
Sample link: chart-sample
Since the reported issue is not reproduced at our end, can you please modify and reattach the sample in which reported issue is reproduced or else provide us the sample in which reported issue is reproduced. Or please provide us the code example, you have used to render and customize the chart. These details would be helpful for us to find and fix the issue sooner.
Thanks,
Sanjith.
DA
Davide Azzaroni
October 2, 2018 03:13 PM UTC
Thank you it helped me, but I still have a problem with the centering of the series.

They are moved to the left like this :
Can you explain me which properties I have to set in order to have the series centered?
thank you
Davide
SK
Sanjith Kesavan
Syncfusion Team
October 3, 2018 09:02 AM UTC
Hi Davide,
Thanks for your reply. We have analyzed your screenshot. It depicts that you are having only one series in the chart. Since we don’t have any other information, we have created the simple sample and tried to replicate the reported issue. But series in the chart is centered properly. Please find the below code example and screenshot.
[C#]
|
ChartSeries series1 = new ChartSeries();
Random random = new Random();
series.Points.Add("A", random.Next(10, 30));
series.Points.Add("B", random.Next(10, 30));
series.Points.Add("C", random.Next(10, 30));
series.Points.Add("D", random.Next(10, 30));
series.Points.Add("E", random.Next(10, 30));
series.Points.Add("F", random.Next(10, 30));
series.Points.Add("G", random.Next(10, 30));
series.Points.Add("H", random.Next(10, 30));
series.Points.Add("I", random.Next(10, 30));
series.Points.Add("J", random.Next(10, 30));
series.Styles[0].Interior = new Syncfusion.Drawing.BrushInfo(Color.YellowGreen);
chart.Series.Add(series); |
Please find the sample from the below link
Sample link: chart-sample
After checking your screenshot, we suspect that you may set a maximum value for x-axis’s range. Please check that and also, could you please provide us the sample in which reported issue is reproduced. Or else please provide us the code example you have used to create the chart. This would be helpful for us to provide the solution as per your requirement. This would be helpful for us to provide the solution as per your requirement.
Thanks,
Sanjith.
DA
Davide Azzaroni
October 3, 2018 11:02 AM UTC
thank you, the problem was in Range.MAX axis property.
Davide
MK
Muneesh Kumar G
Syncfusion Team
October 4, 2018 05:10 AM UTC
Hi Davide,
Thanks for the update. Please let us know if you need any other assistance on this.
Thanks,
Muneesh Kumar G.
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
DA Davide Azzaroni
- Sep 27, 2018 02:35 PM UTC
- Oct 4, 2018 05:10 AM UTC