We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a69032 commit 157fcccCopy full SHA for 157fccc
1 file changed
pylcm-benchmarks/index.html
@@ -89,6 +89,7 @@ <h1>PyLCM Benchmarks</h1>
89
var dd = String(d.getDate()).padStart(2, '0');
90
return yyyy + '-' + mm + '-' + dd;
91
});
92
+ var xIndices = entries.map(function(_, i) { return i; });
93
var traces = gNames.map(function(name) {
94
var yVals = [];
95
var hoverTexts = [];
@@ -112,7 +113,7 @@ <h1>PyLCM Benchmarks</h1>
112
113
}
114
115
return {
- x: dateLabels,
116
+ x: xIndices,
117
y: yVals,
118
name: name,
119
mode: 'lines+markers',
@@ -130,7 +131,8 @@ <h1>PyLCM Benchmarks</h1>
130
131
title: 'Date',
132
tickangle: -45,
133
tickfont: { size: 11 },
- type: 'category'
134
+ tickvals: xIndices,
135
+ ticktext: dateLabels
136
},
137
yaxis: {
138
title: 'Time (ms)'
0 commit comments