View unanswered posts | View active topics It is currently Thu Mar 28, 2024 11:19 pm



Reply to topic  [ 1 post ] 
Display Grid over graph 
Author Message
New pChart user
New pChart user

Joined: Thu Mar 01, 2012 9:10 am
Posts: 1
Post Display Grid over graph
Hello,

I would like to display the grid lines of the scale above my graph instead of beneath it [in a z-index above/below way].
Now we first need to render the scale, then the graph, so the graph is always displayed on top. I need this for a stackedAreaChart, so making the color pallete more transparent won't really work. There are also no options to remove the Y axis when I try to draw a second scale on top of the graph.

Right now I "fixed" this by:

1. draw scale
2. draw graph
3. draw filled rectangle that hides the current Y axis
4. draw scale [with everything hidden except Y axis and grid]

But there must be a better way to do this, no?
Am I missing an option here or should there be created a new drawGrid method?


Thu Mar 01, 2012 9:19 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron