Skip to content
Snippets Groups Projects
Verified Commit 309c1e6b authored by Mike Greiling's avatar Mike Greiling
Browse files

pass all graph queries into createTimeSeries

parent b7273c10
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -138,7 +138,7 @@
 
renderAxesPaths() {
this.timeSeries = createTimeSeries(
this.graphData.queries[0],
this.graphData.queries,
this.graphWidth,
this.graphHeight,
this.graphHeightOffset,
Loading
Loading
Loading
Loading
@@ -11,7 +11,8 @@ const defaultColorPalette = {
 
const defaultColorOrder = ['blue', 'orange', 'red', 'green', 'purple'];
 
export default function createTimeSeries(queryData, graphWidth, graphHeight, graphHeightOffset) {
export default function createTimeSeries(queries, graphWidth, graphHeight, graphHeightOffset) {
const queryData = queries[0];
let usedColors = [];
 
function pickColor(name) {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment