Skip to content

While Plotting OHLC chart it display doji as vertical line, ideally it should be a cross #781

@VajraMusti

Description

@VajraMusti

image
The below code assumes

xEnd - xStart,
Math.abs(closeOffset - openOffset));

Please review this code, I think even if height is zero of the rectangle it should display a line, which means somehow it has both width and height as 0 which is causing it to display vertical line instead of a cross when open price is equal to close price.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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