File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 < script src ="https://cdn.jsdelivr.net/npm/chart.js "> </ script >
1414 < script src ="https://cdn.jsdelivr.net/npm/chartjs-plugin-zoom@2.0.1 "> </ script >
1515
16- < style >
16+ < style >
1717 .charts-grid {
1818 display : flex;
1919 flex-direction : column;
2323 }
2424 .chart-container {
2525 width : 90vw ;
26- max-width : 1100 px ;
26+ max-width : 1200 px ;
2727 position : relative;
2828 display : flex;
2929 flex-direction : column;
30+ overflow : hidden; /* hide any overflow beyond container */
31+ }
32+ .chart-container canvas {
33+ flex : 0 0 420px ; /* keep chart height */
34+ width : 100% !important ;
3035 }
3136 .chart-container canvas {
3237 flex : 0 0 420px ; /* keep chart height */
6671 gap : 4px ;
6772}
6873.zoom-controls button {
69- display : flex;
70- align-items : center;
71- justify-content : center;
7274 width : 32px ;
7375 height : 32px ;
7476 font-size : 1rem ;
7577 border : 1px solid # ccc ;
7678 border-radius : 4px ;
77- background : # dd7973 ;
79+ background : # f8f9fa ;
7880 cursor : pointer;
7981 transition : background 0.2s ease;
80- margin : 0 ; /* reset default margins */
82+ margin : 0 ;
83+ padding : 0 ;
84+ display : flex;
85+ align-items : center;
86+ justify-content : center;
8187}
8288.zoom-controls button : hover {
8389 background : # e2e6ea ;
@@ -510,8 +516,8 @@ <h3 style="text-align:center;">Jitter</h3>
510516 y : {
511517 min : 0 ,
512518 max : 1 ,
513- minRange : 0.1 ,
514- maxRange : 2
519+ minRange : 0.5 ,
520+ maxRange : 1
515521 }
516522 }
517523 } ;
You can’t perform that action at this time.
0 commit comments