Skip to content

Chaning the width of bars with datetime x-axis? #3263

Description

@ed-parry

https://jsfiddle.net/02muyr4x/1/

I have a graph which is linear on the y-axis and datetime on the x-axis. The majority of data is represented nicely with the line chart type, but some data will need to use the bar chart type. The example in the above jsfiddle shows timestamps every 15 minutes, with the bar chart showing data for each of these. My question is, is it possible to change the width of these bars? I'm not sure what is controlling the space between them, or why there is a space between them at all? I'm aware of categorySpacing and categoryPercentage, but neither of these appear to have any effect? Is there something I'm missing?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions