Configuration properties are set in the chart constructor. Some of them are mandatory, others - optional.
var pieChart = new dhtmlXChart({
view:"pie",
container:"chart_container",
value:"#sales#"
})
container - the id of an html container where you want display the chart
-
value - a property of dataset that chart represents
look and fill
color - defines the color of chart items
-
-
x - the horizontal position of the pie center
y - the vertical position of the pie center
Pie personality
shadow - enables/disables pie shadow
3D Pie personality
cant - a value from 0 to 1 that defines the chart cant (0.5 by default)
-
item details
data manipulation
group - groups data by a certain property
-