Widgets > Chart Widgets > wijbarchart > wijbarchart Tutorial > wijbarchart Step 3 of 3: Running the Project |
In this step you will run the application and observe the new data and char elements that include titles for the X and Y axis, Chart header, and chart labels.
hint: {
content: function () {
return this.data.label + '<br><br>' + this.y + '';
}
},
header: {
text: "Hardware Distribution"
},
seriesList: [{
label: "West",
legendEntry: true,
data: { x: ['Desktops', 'Notebooks', 'AIO', 'Tablets', 'Phones'], y: [5, 3, 4, 7, 2] }
}, {
label: "Central",
legendEntry: true,
data: { x: ['Desktops', 'Notebooks', 'AIO', 'Tablets', 'Phones'], y: [2, 2, 3, 2, 1] }
}, {
label: "East",
legendEntry: true,
data: { x: ['Desktops', 'Notebooks', 'AIO', 'Tablets', 'Phones'], y: [3, 4, 4, 2, 5] }
}]
axis:{
y: {
text: "Total Hardware"
},
x: {
text: ""
}
},