Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

210
Views
How to style X and Y axis of vuechart-js?

I want to give my X and Y axis a specific color ('#204623'), but I can't seem to find the right solution for vuechart-js.

enter image description here

Solutions for chart.js dont seem to work

Note: The graph has no gridlines.

This is what my code looks like:

 render() {
        this.renderChart(this.data, {
            maintainAspectRatio: false,
            responsive: true,
            legend: {display: false},
            tooltips: {
                enabled: true,
                backgroundColor: '#204623',
                bodyAlign: 'center',
                titleAlign: 'center',
                displayColors: false,
                callbacks: {
                  label: ((tooltipItems, data) => {
                      return tooltipItems.yLabel + ' gasten'
                  }),
                }
            },
            scales: {
                yAxes: [{
                    baseLineColor: '#204623',
                    ticks: {display: false},
                    labelString: translation.get('system.amount'),
                    gridLines: {
                        display: false
                    }
                }],
                xAxes: [{
                    baseLineColor: '#204623',
                    position: 'bottom',
                    gridLines: {
                        display: false
                    },
                    scaleLabel: {
                        display: false,
                        labelString: translation.get('system.time'),
                    },
                    ticks: {
                        display: false,
                    }
                }],

            },
        })
    }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!