Skip to content

classnames inversion issue #1250

Closed
@JCL2

Description

@JCL2

Hi,

I'm having the following issue trying to specify the classnames of my series in a bar chart. It seems these classnames are assigned to the wrong series. Any advice on why this happens to me?

Here is the code by which I create the two series specifying 'last' and 'forecast' as classnames:
image

Here are the elements I obtain on my page:
image

It seems the series classnames have been inverted.

Activity

Arantiryo

Arantiryo commented on Sep 19, 2022

@Arantiryo
Collaborator

Hi @JCL2 👋

Is the issue still relevant for you?

JCL2

JCL2 commented on Sep 19, 2022

@JCL2
Author

Hi @Arantiryo ,
Thank you for enquiring!
The issue is not important for me as I switched approach for this particular case. Yet, I think there's a small issue there and if it's fixed one day I'd be happy to know about it.

Arantiryo

Arantiryo commented on Sep 19, 2022

@Arantiryo
Collaborator

Thank you for the reply!

Looks like it's still there, I was able to reproduce it in this code sandbox. We'll definetly take a stab at resolving the issue : )

JCL2

JCL2 commented on Sep 19, 2022

@JCL2
Author

Thank you! Do not hesitate to drop me a message if a fix is done. I'll gladly resume using the library.

added a commit that references this issue on Oct 4, 2022
added a commit that references this issue on Oct 4, 2022
added a commit that references this issue on Oct 4, 2022
JCL2

JCL2 commented on Oct 4, 2022

@JCL2
Author

thanks, great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @JCL2@Arantiryo

      Issue actions

        classnames inversion issue · Issue #1250 · chartist-js/chartist