var = new CanvasJS.Chart("", { //colorSet: 'currentColorSet1', //colorSet: 'priorityColorSet', colorSet: 'colorSet2', theme: "light2", // "light1", "light2", "dark1", "dark2" exportEnabled: true, animationEnabled: true, title: { text: "Desktop Browser Market Share in 2016" }, data: [{ type: "pie", startAngle: 25, toolTipContent: "{label}: {y}%", showInLegend: "true", legendText: "{label}", indexLabelFontSize: 16, indexLabel: "{label} - {y}%", dataPoints: [ { y: 51.08, label: "Chrome" }, { y: 27.34, label: "Internet Explorer" }, { y: 10.62, label: "Firefox" }, { y: 8.02, label: "Microsoft Edge" }, { y: 7.02, label: "Other 1" }, { y: 6.02, label: "Other 2" }, { y: 5.02, label: "Other 3" }, { y: 4.02, label: "Other 4" }, { y: 4.07, label: "Safari" }, { y: 1.22, label: "Opera" }, { y: 0.44, label: "Others" } ] }] }); .render();