File tree Expand file tree Collapse file tree 16 files changed +47
-284
lines changed Expand file tree Collapse file tree 16 files changed +47
-284
lines changed Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Box Plot Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< style >
8
8
canvas {
52
52
text : 'Chart.js Box Plot Chart' ,
53
53
} ,
54
54
scales : {
55
- xAxes : [
56
- {
57
- // Specific to Bar Controller
58
- categoryPercentage : 0.9 ,
59
- barPercentage : 0.8 ,
60
- } ,
61
- ] ,
55
+ x : {
56
+ // Specific to Bar Controller
57
+ categoryPercentage : 0.9 ,
58
+ barPercentage : 0.8 ,
59
+ } ,
62
60
} ,
63
61
} ,
64
62
} ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Box Plot Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< script src ="https://unpkg.com/d3-random@latest/dist/d3-random.js "> </ script >
8
8
< script src ="./utils.js "> </ script >
56
56
display : true ,
57
57
text : 'Chart.js Box Plot Chart' ,
58
58
} ,
59
- scales : {
60
- yAxes : [
61
- {
62
- ticks : {
63
- minStats : 'min' ,
64
- maxStats : 'max' ,
65
- } ,
66
- } ,
67
- ] ,
59
+ boxplot : {
60
+ minStats : 'min' ,
61
+ maxStats : 'max' ,
68
62
} ,
69
63
} ;
70
64
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Box Plot Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< script src ="https://unpkg.com/d3-random@latest/dist/d3-random.js "> </ script >
8
8
< script src ="./utils.js "> </ script >
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Box Plot Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< style >
8
8
canvas {
52
52
text : 'Chart.js Box Plot Chart' ,
53
53
} ,
54
54
scales : {
55
- xAxes : [
56
- {
57
- // Specific to Bar Controller
58
- categoryPercentage : 0.9 ,
59
- barPercentage : 0.8 ,
60
- } ,
61
- ] ,
55
+ x : {
56
+ // Specific to Bar Controller
57
+ categoryPercentage : 0.9 ,
58
+ barPercentage : 0.8 ,
59
+ } ,
62
60
} ,
63
61
} ,
64
62
} ) ;
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Box Plot Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< style >
8
8
canvas {
52
52
display : true ,
53
53
text : 'Quantiles type 7' ,
54
54
} ,
55
- scales : {
56
- yAxes : [
57
- {
58
- ticks : {
59
- quantiles : 'quantiles' ,
60
- } ,
61
- } ,
62
- ] ,
55
+ boxplot : {
56
+ quantiles : 'quantiles' ,
63
57
} ,
64
58
} ,
65
59
} ) ;
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Horizontal Bar Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< script src ="https://unpkg.com/d3-random@latest/dist/d3-random.js "> </ script >
8
8
< script src ="./utils.js "> </ script >
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Violin Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< script src ="https://unpkg.com/d3-random@latest/dist/d3-random.js "> </ script >
8
8
< script src ="./utils.js "> </ script >
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Box Plot Chart</ title >
5
- < script src ="../node_modules/ chart.js/dist/Chart.bundle .js "> </ script >
5
+ < script src ="https://unpkg.com/ chart.js@3.0.0-alpha /dist/Chart.js "> </ script >
6
6
< script src ="../build/Chart.BoxPlot.js " type ="text/javascript "> </ script >
7
7
< script src ="./utils.js "> </ script >
8
8
< style >
57
57
display : true ,
58
58
text : 'Chart.js Box Plot and Line Chart' ,
59
59
} ,
60
- scales : {
61
- yAxes : [
62
- {
63
- type : 'arrayLinear' ,
64
- } ,
65
- ] ,
66
- } ,
67
60
} ,
68
61
} ) ;
69
62
} ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments