Multiple series SfChart with Trendlines and Render Issue
Hi,
Currently I'm doing multiple series sfchart and trend-lines on it. Save and load chart function also included.
The chart plotted successfully, but faced few issues.
How can I standardize the color for the same series of chart segment and trend-line?
I tried set the trend-line color with the same series chart with chart segment interior color.
But when I load the chart, it having problem with segment. It failed to get segment.
It possible is render issue, since no problem when called the ShowTrendline() method manually by button after load chart.
Error when run the ShowTrendline() method automatically after load function.
It failed to get chart segment.
Please advise, thanks.
SIGN IN To post a reply.
5 Replies
SJ
Sumathi Jayaraj
Syncfusion Team
April 9, 2015 09:19 AM UTC
Hi Chong,
Thanks for contacting Syncfusion support.
Query 1: How can I standardize the color for the same series of chart segment and trend-line?
We can able to standardize the color for Trendline and the series by binding the Interior of the series to the Stroke property of Trendline. We have prepared a sample based on this. Please find the sample in the following location.
Query 2: Chart segment rendering issue
We are unable to reproduce the issue at our end. Could you please provide the sample based on your requirement with replication steps in order to reproduce the issue? It would be help full for us to serve you better.
Sample: TrendlineSample.zip
Please let us know if you have any queries.
Regards,
Sumathi J
Thanks for contacting Syncfusion support.
Query 1: How can I standardize the color for the same series of chart segment and trend-line?
We can able to standardize the color for Trendline and the series by binding the Interior of the series to the Stroke property of Trendline. We have prepared a sample based on this. Please find the sample in the following location.
Query 2: Chart segment rendering issue
We are unable to reproduce the issue at our end. Could you please provide the sample based on your requirement with replication steps in order to reproduce the issue? It would be help full for us to serve you better.
Sample: TrendlineSample.zip
Please let us know if you have any queries.
Regards,
Sumathi J
CY
Chong Yee Mei
April 10, 2015 02:47 AM UTC
Hi, thanks for guiding.
Attachment: TrendlineIssueSample_8c4a2817.zip
The below attachment is regarding of the issue.
Currently I'm using chart segment interior color to standardize the trendline color of same series.
No problem with displays trendline manually by button after chart plotted out, but error when chart and trendline plotted together.
Any solution?
Please advise, thank you!
Attachment: TrendlineIssueSample_8c4a2817.zip
SJ
Sumathi Jayaraj
Syncfusion Team
April 10, 2015 10:12 AM UTC
Hi Chong,
Thanks for the update.
We have analyzed the sample and we found that the segments of the custom series is not created, when we invoke the DisplayTrndline() method. So that exception thrown, when we try to access the Segments collection in DisplayTrndline() method.
We have modified the sample by invoking the method using dispatcher and please find that sample in the following location.
Sample: TrendlineIssueSample.zip
Please let us know if you have any queries.
Regards,
Sumathi J
Thanks for the update.
We have analyzed the sample and we found that the segments of the custom series is not created, when we invoke the DisplayTrndline() method. So that exception thrown, when we try to access the Segments collection in DisplayTrndline() method.
We have modified the sample by invoking the method using dispatcher and please find that sample in the following location.
Sample: TrendlineIssueSample.zip
Please let us know if you have any queries.
Regards,
Sumathi J
CY
Chong Yee Mei
April 13, 2015 07:02 AM UTC
Hi,
The code works well now.
Thanks for support.
SJ
Sumathi Jayaraj
Syncfusion Team
April 14, 2015 04:19 AM UTC
Hi Chong,
Thanks for the update. Please let us know if you require further assistance on this.
Regards,
Sumathi J
Thanks for the update. Please let us know if you require further assistance on this.
Regards,
Sumathi J
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
CY Chong Yee Mei
- Apr 8, 2015 06:50 AM UTC
- Apr 14, 2015 04:19 AM UTC