|
|
@@ -34,11 +34,9 @@ export function dataPrep(data, type) { |
|
|
|
} else { |
|
|
|
vals = fillArray(vals, datasetLength - vals.length, 0); |
|
|
|
} |
|
|
|
d.values = vals; |
|
|
|
} |
|
|
|
|
|
|
|
// Set labels |
|
|
|
// |
|
|
|
|
|
|
|
// Set type |
|
|
|
if (!d.chartType) { |
|
|
|
if (!AXIS_DATASET_CHART_TYPES.includes(type)) type === DEFAULT_AXIS_CHART_TYPE; |
|
|
|