Open
Description
I am experiencing a strange behaviour of RadPieChart and PieSeries.
PieSeries is showing only a thin line when one value represents 100% of total.
If my description is not clear, bellow are images to illustrate the problem I am facing. First image shows regular behaviour of PieSeries, and the second one shows the problematic
The code for both charts is identical. These charts are dynamic, and they display different data regarding the parameters user typed in. However, bellow is the code for both charts.
<RadPieChart *ngIf="!noDataFound" tkExampleTitle tkToggleNavButton minHeight="200" allowAnimation="true" row="0">
<PieSeries tkPieSeries
seriesName="collectPie"
selectionMode="None"
expandRadius="0.4"
outerRadiusFactor="0.7"
valueProperty="amountCollected"
legendLabel="nameForLabel"
showLabels="true"
showPercentage="false"
[items]="pieSource">
<PointLabelStyle tkPieLabelStyle margin="15" textFormat="%.2f €"></PointLabelStyle>
</PieSeries>
<Palette tkPiePalette seriesName="collectPie">
<PaletteEntry tkPiePaletteEntry fillColor="#1B998B" strokeColor="#1B998B"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#97C8EB" strokeColor="#97C8EB"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#001F54" strokeColor="#001F54"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#2B193D" strokeColor="#2B193D"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#484D6D" strokeColor="#484D6D"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#2C365E" strokeColor="#2C365E"></PaletteEntry>
</Palette>
<RadLegendView tkPieLegend position="Top" width="100%"></RadLegendView>
</RadPieChart>
And here is for the other chart
<RadPieChart *ngIf="!noDataFound" tkExampleTitle tkToggleNavButton minHeight="200" allowAnimation="true" row="0">
<PieSeries tkPieSeries
seriesName="collectPie"
selectionMode="None"
expandRadius="0.4"
outerRadiusFactor="0.7"
valueProperty="amountSpent"
legendLabel="nameForLabel"
showLabels="true"
showPercentage="false"
[items]="pieSource">
<PointLabelStyle tkPieLabelStyle margin="15" textFormat="%.2f €"></PointLabelStyle>
</PieSeries>
<Palette tkPiePalette seriesName="collectPie">
<PaletteEntry tkPiePaletteEntry fillColor="#1B998B" strokeColor="#1B998B"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#97C8EB" strokeColor="#97C8EB"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#001F54" strokeColor="#001F54"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#2B193D" strokeColor="#2B193D"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#484D6D" strokeColor="#484D6D"></PaletteEntry>
<PaletteEntry tkPiePaletteEntry fillColor="#2C365E" strokeColor="#2C365E"></PaletteEntry>
</Palette>
<RadLegendView tkPieLegend position="Top" width="100%"></RadLegendView>
</RadPieChart>
If I am missing something, please let me know. I tried searching for a solution on stack overflow, but I couldn't find anything similar.