Skip to content

Commit

Permalink
Refactor(charts): Fix charts
Browse files Browse the repository at this point in the history
  • Loading branch information
rarestoma committed Jul 15, 2021
1 parent 014d33a commit ce7e300
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/variables/charts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ export function chartOptions() {
color: (mode == 'dark') ? colors.gray[900] : colors.gray[300],
drawBorder: false,
drawTicks: false,
lineWidth: 0,
drawOnChartArea: (mode == 'dark') ? false : true,
lineWidth: 1,
zeroLineWidth: 0,
zeroLineColor: (mode == 'dark') ? colors.gray[900] : colors.gray[300],
zeroLineBorderDash: [2],
Expand Down Expand Up @@ -288,7 +289,8 @@ export const chartExample1 = {
yAxes: [{
gridLines: {
color: colors.gray[900],
zeroLineColor: colors.gray[900]
zeroLineColor: colors.gray[900],
drawOnChartArea: false
},
ticks: {
callback: function(value) {
Expand Down

0 comments on commit ce7e300

Please sign in to comment.