The subject of this message is horrible, but I don't know how else to phrase it.
The following data generates the chart shown below:
1293868800,50,0
1293955200,50,0
1305874800,50,40
1305961200,50,40
1325404800,50,40
1325491200,0,40
1329379200,0,40
1329465600,0,40
Which is close to what I want but I need the purple series to start like the pink series, i.e. no color until the first value, rather than the sloped line from 0 up to the provided value.
Is there a way to do that?
Need 'hard start' series
Moderators: heatherlaine, BvG
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
Re: Need 'hard start' series
1293868800,50,0
1293955200,50,0
1305874800,50,0 -- I added this line
1305874800,50,40
1305961200,50,40
1325404800,50,40
1325491200,0,40
1329379200,0,40
1329465600,0,40
1293955200,50,0
1305874800,50,0 -- I added this line
1305874800,50,40
1305961200,50,40
1325404800,50,40
1325491200,0,40
1329379200,0,40
1329465600,0,40
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Need 'hard start' series
So that's two data lines with the same time value? Interesting.
Thanks!
Can you explain why that works? I've been avoiding adding lines with duplicate time values.
Thanks!
Can you explain why that works? I've been avoiding adding lines with duplicate time values.
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
Re: Need 'hard start' series
Well, you can also subtract one, making the data 100% failsave:
1293868800,50,0
1293955200,50,0
1305874799,50,0
1305874800,50,40
1305961200,50,40
1325404800,50,40
1325491200,0,40
1329379200,0,40
1329465600,0,40
the main reason it works with the same date is inherent behaviour. The data is assembled with repeat loops, and those can only go one direction, down the list, if you switch the lines around, you'll get the weird behaviour that you feared might happen
1293868800,50,0
1293955200,50,0
1305874799,50,0
1305874800,50,40
1305961200,50,40
1325404800,50,40
1325491200,0,40
1329379200,0,40
1329465600,0,40
the main reason it works with the same date is inherent behaviour. The data is assembled with repeat loops, and those can only go one direction, down the list, if you switch the lines around, you'll get the weird behaviour that you feared might happen
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Need 'hard start' series
Ah.BvG wrote: the main reason it works with the same date is inherent behaviour. The data is assembled with repeat loops, and those can only go one direction, down the list, if you switch the lines around, you'll get the weird behaviour that you feared might happen
Thanks!