diff --git a/package.json b/package.json index 9656de3fae..1875c705f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interbtc-ui", - "version": "2.41.5", + "version": "2.41.6", "private": true, "dependencies": { "@craco/craco": "^6.1.1", 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 } }