Hi Jsu,
Greetings from Syncfusion.
We have analyzed query with attached code snippet. We have tried to replicate the reported issue, unfortunately the reported scenario is not replicated at our end. Consider the following sample here we have created two charts with chart area border(Initialized in client and server side) in version 16.3.0.29.
Code Snippet:
ChartFeatures.cshtml:
ChartArea(br => br.Border(bd => bd.Color("red").Width(4))) |
Screenshot:
Client side chart area border:
Consider the second chart in the sample chart area was rendered from code behind using viewData. Please find below code snippet,
Chartcontroller.cs:
chartModel.ChartArea = new ChartArea();
chartModel.ChartArea.Border = new ChartBorder();
chartModel.ChartArea.Border.Color = "blue";
chartModel.ChartArea.Border.Width = 4; |
Screenshot:
Server Side Chart Area Border:
Since, we are not aware of the exact scenario on which the issue is reproduced. We would like to know the following details which will be helpful in further analysis and provide you the solution sooner.
- Try to reproduce the reported scenario with the above sample and revert us.
- Provide your sample with replication steps.
- Provide your product version which used in your sample.
Regards,
Kalai