Closed dcooper33 closed 3 years ago
Hi Kyle, I believe I've found the root cause of this issue. In the attached updated view, I've removed the binding on props.type
that allowed the chart type to dynamically change from a pie to donut chart based on user selection and now the legend labels and data labels display correctly with no formatter function needed. Having a separate template for a donut chart and toggling visibility between the two based on user selection has allowed me to have the desired functionality.
TEMPLATE - ApexPieChart_2021-10-08_1547.zip
Ignition 8.1.10
Category labels in
props.options.labels
do not display properly in pie chart legend - displays "series-1" to "series-n" for each item in labels.In the designer, if I go into preview mode the "series-n" label gets replaced with the proper value from label array:
But once I close and re-open the view (attached) in designer, or use in runtime perspective session, the legend will again display only the "series-n" label. TEMPLATE - ApexPieChart_2021-10-08_1338.zip
**Referring to Issue #1 I removed an object binding I had on
props.options.chart.toolbar.tools
but it did not change the label behavior.