diff --git a/src/config/charts.ts b/src/config/charts.ts index 95d118c16d..a275b118ca 100644 --- a/src/config/charts.ts +++ b/src/config/charts.ts @@ -1,6 +1,3 @@ -// Get 6 values to be able to calculate difference between 5 days ago and 6 days ago. -// Thus volume per day 5 days ago can be displayed. -// Cumulative volume is also only displayed to 5 days. -const COUNT_OF_DATES_FOR_CHART = 6; +const COUNT_OF_DATES_FOR_CHART = 180; export { COUNT_OF_DATES_FOR_CHART }; diff --git a/src/pages/Dashboard/LineChart/index.tsx b/src/pages/Dashboard/LineChart/index.tsx index c99d92cc91..cf9c82c57c 100644 --- a/src/pages/Dashboard/LineChart/index.tsx +++ b/src/pages/Dashboard/LineChart/index.tsx @@ -76,6 +76,7 @@ const LineChart = ({ colors, labels, yLabels, yAxes, datasets, wrapperClassName zeroLineColor }, ticks: { + maxTicksLimit: 8, fontColor: textPrimaryColor } }