Skip to content

point annotations where xaxis labels are an array #2012

@elliotashton

Description

@elliotashton

Bug report

I'm 100% sure if this is a bug (or a lack of capability on my part) but I am unable to add an annotation to a stack bar chart where the xaxis categories are an array for each category (used to create line feeds for long labels). I've confirmed that I am able to do this with a single string value for each category.

this is what I get for a string

image

this is what I get for an array

image

Note that the annotation no longer appears. It seems that the x value needs to be a string to match. I've tried to pass an array matching the category array but not achieved a match. This is the array that describes the xaxis categories:
image

Explanation

  • I expect that the point annotation x value can match for an array
  • The annotation is not finding an xaxis category match where the xaxis category is an array
  • no error message

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