Commit 8dc1eca9 authored by tom's avatar tom

disable aggregation

parent 2dd9c540
...@@ -27,7 +27,8 @@ interface Props { ...@@ -27,7 +27,8 @@ interface Props {
margin?: ChartMargin; margin?: ChartMargin;
} }
const MAX_SHOW_ITEMS = 100; // temporarily turn off the data aggregation, we need a better algorithm for that
const MAX_SHOW_ITEMS = 100_000_000_000;
const DEFAULT_CHART_MARGIN = { bottom: 20, left: 40, right: 20, top: 10 }; const DEFAULT_CHART_MARGIN = { bottom: 20, left: 40, right: 20, top: 10 };
const ChartWidgetGraph = ({ isEnlarged, items, onZoom, isZoomResetInitial, title, margin, units }: Props) => { const ChartWidgetGraph = ({ isEnlarged, items, onZoom, isZoomResetInitial, title, margin, units }: Props) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment