Skip to content

[Bug] on horizontal candlestick #21322

Closed

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

Activity

  1. added
    en
    pending
    on Oct 19, 2025
  2. added a commit that references this issue on Oct 20, 2025
    94aa06d
  3. added and removed
    pending
    on Oct 23, 2025
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

    bugentopic: k/candlestick

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions