Skip to content

Grid Lines are drawn above the Candlesticks. #225

@shujaatak

Description

@shujaatak

I have noticed that grid lines are drawn above the candlesticks like this:

image

In order to send the grid lines to back, I set the Z value to -1000 here:

ax.axes['left']['item'].setZValue(30) # put axis in front instead of behind data

and here too:
ax.axes['bottom']['item'].setZValue(30)

Now the grid lines appear behind the candlesticks like this:

image

But as you can see here:

ax.axes['left']['item'].setZValue(30) # put axis in front instead of behind data

there is this note:
put axis in front instead of behind data

I wonder what, if any, problems I might face if I set the Z value to -1000 to send the grid lines behind the candlesticks? Or is there any other recommended way to draw the grid lines behind the candlesticks?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions