Hi there
Another issue in 2.1. With “enableAnimations: false;” the chart slices are not drawn anymore. This was working in 2.0. P.S: With “enableAnimations: true;” this works fine.
Here’s a sample code:
var dataSource2 = [
{ Country: 'DE', Percentage: 23 },
{ Country: 'FR', Percentage: 20 },
{ Country: 'ES', Percentage: 15 },
{ Country: 'IT', Percentage: 10 },
{ Country: 'CH', Percentage: 8 },
{ Country: 'BE', Percentage: 7 },
{ Country: 'PT', Percentage: 5 },
{ Country: 'OTHERS', Percentage: 12 }
];
var settings2 = {
source: dataSource2,
enableAnimations: false,
colorScheme: 'scheme03',
borderColor: '#e3e3e3',
background: '#e3e3e3',
padding: { left: 0, top: 0, right: 0, bottom: 0 },
showLegend: true,
legendLayout: { left: 300, top: 10, width: 100, height: 120, flow: 'vertical' },
seriesGroups: [ {
type: 'pie',
showLabels: true,
series: [ {
dataField: 'Percentage',
displayText: 'Country',
labelRadius: 40,
initialAngle: 0,
radius: 65,
centerOffset: 0,
formatSettings: { sufix: '%', decimalPlaces: 1 }
} ]
} ]
};
$('#transactionPerCountryChart').jqxChart(settings2);
Thanks & cheers,
Peter