Skip to content

[Bug] on horizontal candlestick #21322

@helgasoft

Description

@helgasoft

Version

6.0.0

Link to Minimal Reproduction

Example

Steps to Reproduce

open Chrome DevTools to see error

Current Behavior

candlestick.encode allows multiple values to be associated with the X axis. Even the example is with x: [3, 1, 5],. This means the candlestick should be shown horizontally.
Generates a Null Pointer Exception (NPE) TypeError: Cannot read properties of undefined (reading 'sign') on line

const sign = data.getItemLayout(dataIndex).sign;

Expected Behavior

horizontal candlesticks

Environment

- OS:
- Browser: Chrome
- Framework: JS

Any additional comments?

probably very low priority, but still a bug to be reported

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