- Home
- Forum
- React - EJ 2
- Pie chart does not refresh when state changes
Pie chart does not refresh when state changes
Hello,
I am using Accumulation chart component with PieSeries. Here is the code
<AccumulationChartComponent
legendSettings={{ visible: false }}
enableSmartLabels={true}
enableAnimation={true}
center={{ x: '50%', y: '50%' }}
tooltip={{ enable: false, format: '${point.x} : ${point.y}%' }}
>
<Inject services={[AccumulationLegend, PieSeries, AccumulationTooltip, AccumulationDataLabel]} />
<AccumulationSeriesCollectionDirective>
<AccumulationSeriesDirective
dataSource={this.state.chartData}
name="Browser"
xName="population"
yName="value"
explodeIndex={0}
dataLabel={{
visible: true,
position: 'Outside',
name: 'population',
font: {
fontWeight: '600',
},
}}
radius="70%"
/>
AccumulationSeriesCollectionDirective>
AccumulationChartComponent>
I am facing the issue where this pie chart does not refresh the data when state changes. If replaced this chart with bar chart, everything works fine. Is there any issue with pie chart component?
ej2-react-charts version - 17.2.49.
SIGN IN To post a reply.
3 Replies
SM
Srihari Muthukaruppan
Syncfusion Team
October 15, 2019 09:06 AM UTC
Hi Pooja,
Sorry for the inconvenience.
We have analyzed your query. We were able to reproduce the issue in your version and we confirm this as a bug and logged a defect report .You can keep track of the bug from the feedback portal below.
Feedback Link: https://www.syncfusion.com/feedback/9504/
The fix will be available in our upcoming weekly patch release which is scheduled to be rolled out on or before October 22nd , 2019.
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Thanks,
Srihari.
PB
Pooja Barhate
October 23, 2019 11:42 AM UTC
Is the patch available? Where can I find it?
SM
Srihari Muthukaruppan
Syncfusion Team
October 23, 2019 02:24 PM UTC
Hi Pooja,
Thanks for being patience.
We are glad to announce that our v17.3.19 patch release is rolled out, we have added the fix for the reported issue and is available for download under the following link.
Npm Packages: https://www.npmjs.com/~syncfusionorg
We appreciate your patience in waiting for this release. Let me know, if you need further assistance.
Regards,
Srihari M
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
PB Pooja Barhate
- Oct 14, 2019 04:29 AM UTC
- Oct 23, 2019 02:24 PM UTC