Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dashboard): chart yAxis calculation (#929)
Because currently the triggered count was getting overwritten by next value. ``` yAxis[pipelineIndex]["data"][xAxisIndex] = pipeline.trigger_counts[bucketIndex]; ``` This commit it should be, if their is already a value, to the index, it should add up to the previous value ``` if (yAxis[pipelineIndex]["data"][xAxisIndex]) { yAxis[pipelineIndex]["data"][xAxisIndex] += pipeline.trigger_counts[bucketIndex]; } else { yAxis[pipelineIndex]["data"][xAxisIndex] += pipeline.trigger_counts[bucketIndex]; } ```
- Loading branch information