Skip to content

xaxis.lables.style.cssClass not work in vue3 when chart type is radar #107

Open
@yp05327

Description

@yp05327

Description

Steps to Reproduce

  1. set chart type to 'radar'
  2. add xaxis like
xaxis: {
  categories: [your data],
  labels: {
    show: true,
    style: {
      cssClass: 'custom-class',
    },
  },
},

Expected Behavior

'custom-class' should be set in radar chart

Actual Behavior

  • the class of xaxis labels will not include 'custom-class'
    it works when chart type is 'bar'

Screenshots

  • the class of xaxis labels will not include 'custom-class'
    image

  • if chart type is 'bar', it works well:
    image

Reproduction Link

https://codesandbox.io/s/vue-basic-example-forked-9rq22g?file=/src/components/Chart.component.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions