Skip to content

Stop forceful xaxis conversion to numeric type #472

@OriginalEXE

Description

@OriginalEXE

Codepen

I was not able to reproduce this in a codepen unfortunately. For some reason it's not happening there:
https://codepen.io/anon/pen/dLoQJX

Explanation

  • What is the behavior you expect?
    If I set xaxis type to 'categories', I expect it to be that way
  • What is happening instead?
    apexcharts converts it to numeric and removes my categories unless I use xaxis.tickPlacement = 'between' which I don't want

Not sure why this was introduced, but I don't see the logic in forcing it?

it's this line:

opts = Defaults.convertCatToNumeric(opts)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions