File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -832,16 +832,17 @@ app.component('MultiLatencyLineChart', {
832
832
style="
833
833
position: relative;
834
834
width: 800px;
835
- height: 500px;
836
835
padding: 50px 20px;
837
836
margin: auto;
838
837
"
839
838
>
840
839
<h1>{{benchName.replace("-k6-custom","").replaceAll("_"," ")}}</h1>
841
840
<hr />
842
- <canvas id="chart-container " ref="chartElem"></canvas>
841
+ <canvas height="250 " ref="chartElem"></canvas>
843
842
</div>
844
843
` ,
844
+ // ^^^ NOTE: before changing height styling above, make sure it looks good
845
+ // with a chart of at least 50 runs
845
846
setup ( props ) {
846
847
const chartElem = ref ( null )
847
848
onMounted ( ( ) => {
@@ -852,8 +853,8 @@ app.component('MultiLatencyLineChart', {
852
853
label,
853
854
data,
854
855
fill : false ,
855
- borderWidth : 2 ,
856
- pointRadius : 2.5 ,
856
+ borderWidth : 1.5 ,
857
+ pointRadius : 0 , // disable points, which looks cluttered
857
858
// This is a heatmap-style red to blue color scheme which lets us show
858
859
// the results "fading back in time":
859
860
borderColor : redToBlue ( ix , props . benchData . length )
You can’t perform that action at this time.
0 commit comments