@@ -56,15 +56,15 @@ <h6 class="margin-vertical-rem">Create a chart</h6>
56
56
57
57
datasets: [
58
58
{
59
- label : "Some Data", chartType: 'bar',
59
+ name : "Some Data", chartType: 'bar',
60
60
values: [25, 40, 30, 35, 8, 52, 17, -4]
61
61
},
62
62
{
63
- label : "Another Set", chartType: 'bar',
63
+ name : "Another Set", chartType: 'bar',
64
64
values: [25, 50, -10, 15, 18, 32, 27, 14]
65
65
},
66
66
{
67
- label : "Yet Another", chartType: 'line',
67
+ name : "Yet Another", chartType: 'line',
68
68
values: [15, 20, -3, -15, 58, 12, -17, 37]
69
69
}
70
70
],
@@ -78,7 +78,7 @@ <h6 class="margin-vertical-rem">Create a chart</h6>
78
78
title: "My Awesome Chart",
79
79
type: 'axis-mixed', // or 'bar', 'line', 'pie', 'percentage'
80
80
height: 300,
81
- colors: ['purple', '#ffa3ef', 'red '],
81
+ colors: ['purple', '#ffa3ef', 'light-blue '],
82
82
83
83
tooltipOptions: {
84
84
formatTooltipX: d => (d + '').toUpperCase(),
@@ -230,6 +230,16 @@ <h6 class="margin-vertical-rem">
230
230
</ div >
231
231
</ div >
232
232
233
+ < div class ="col-sm-10 push-sm-1 ">
234
+ < p data-height ="299 " data-theme-id ="light " data-slug-hash ="wjKBoq " data-default-tab ="js,result "
235
+ data-user ="pratu16x7 " data-embed-version ="2 " data-pen-title ="Frappe Charts Demo " class ="codepen ">
236
+ See the Pen < a href ="https://codepen.io/pratu16x7/pen/wjKBoq/ "> Frappe Charts Demo</ a >
237
+ by Prateeksha Singh (< a href ="https://codepen.io/pratu16x7 "> @pratu16x7</ a > ) on
238
+ < a href ="https://codepen.io "> CodePen</ a > .
239
+ </ p >
240
+ < script async src ="https://static.codepen.io/assets/embed/ei.js "> </ script >
241
+ </ div >
242
+
233
243
< div class ="col-sm-10 push-sm-1 ">
234
244
< div class ="dashboard-section ">
235
245
< h6 class ="margin-vertical-rem "> Available options:</ h6 >
0 commit comments