Skip to content

Charts mishandle the offset option #349

Description

@inphoenitic

I suppose the intention behind the offset setting of charts was to control the x axis start position relative to the origin of the axis.

However charts do not take 'offset = true' into account when they render the data series. Offset is only applied to the x axis!
If you set 'offset = true', the bars/points of the graph become off grid and look weird.
Also the right side of the x axis is broken.

https://snippet.webix.com/et2vhjmn

The example displays the same chart with different offset settings. You can see that the only difference is the placement of the x axis and the grid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions