yes, thanks Rick you're correct. I want the lines to automatically drop back to 0 on days where there is no data. so that there are no slanted lines from point to point, only spikes where there's data.
On Dec 18, 1:53 am, "Ray Cromwell" <[email protected]> wrote: > I think he's asking for gaps in the data to be represented by a > square-wave-like drop to 0, rather than a sawtooth pattern. There is a > feature in some charting libraries called "gap threshold" to control > this, which is the size of the gap in which you do not connect points, > and based on whether there is a gap, you can choose to render it in > various ways (missing line segment, drop to zero axis, "grayed out" > line, etc) > > -Ray > > On Thu, Dec 18, 2008 at 1:34 AM, VizBoy <[email protected]> wrote: > > Hi, > > > I don't quite understand. > > Do you want no lines between the points? Or do you want the line to return > > to 0 and then connect (slantedly) to the next point (i.e., will come from > > below and not from above)? > > > Regards, > > Vizboy. > > > On Thu, Dec 18, 2008 at 4:38 AM, Marc Kamaka <[email protected]> wrote: > > >> im using the annotated timeline to display server performance, (page > >> load speed vs time). each time a page in my app loads, it stores a > >> timestamp and a value for the time required to load the page. > > >> this data is used in the annotated timeline data set like this: > > >> data.setValue(0, 0, new Date(2008, 10, 17, 13, 17, 36) ); > >> data.setValue(0, 1, 0.665919065475); > >> data.setValue(1, 0, new Date(2008, 10, 17, 13, 17, 41) ); > >> data.setValue(1, 1, 0.0146939754486); > >> data.setValue(2, 0, new Date(2008, 10, 17, 13, 17, 45) ); > >> data.setValue(2, 1, 0.391777992249); > >> data.setValue(3, 0, new Date(2008, 10, 17, 13, 18, 40) ); > >> data.setValue(3, 1, 0.037780046463); > >> data.setValue(4, 0, new Date(2008, 10, 17, 13, 18, 47) ); > >> data.setValue(4, 1, 0.0181720256805); > >> data.setValue(5, 0, new Date(2008, 10, 17, 13, 18, 55) ); > >> data.setValue(5, 1, 0.013482093811); > >> data.setValue(6, 0, new Date(2008, 10, 17, 13, 18, 57) ); > >> data.setValue(6, 1, 0.117398023605); > >> data.setValue(7, 0, new Date(2008, 10, 17, 13, 19, 9) ); > >> data.setValue(7, 1, 0.255237817764); > >> data.setValue(8, 0, new Date(2008, 10, 17, 13, 19, 25) ); > >> data.setValue(8, 1, 0.0468220710754); > >> data.setValue(9, 0, new Date(2008, 10, 17, 13, 19, 31) ); > >> data.setValue(9, 1, 0.0255880355835); > >> data.setValue(10, 0, new Date(2008, 10, 18, 16, 25, 55) ); > >> data.setValue(10, 1, 0.325550794601); > >> data.setValue(11, 0, new Date(2008, 10, 18, 16, 28, 32) ); > >> data.setValue(11, 1, 0.121537208557); > >> data.setValue(12, 0, new Date(2008, 10, 18, 16, 28, 50) ); > >> data.setValue(12, 1, 0.0886340141296); > >> data.setValue(13, 0, new Date(2008, 10, 20, 12, 47, 15) ); > >> data.setValue(13, 1, 0.1068379879); > >> data.setValue(14, 0, new Date(2008, 10, 20, 12, 47, 19) ); > >> data.setValue(14, 1, 0.0540130138397); > >> data.setValue(15, 0, new Date(2008, 10, 20, 12, 47, 24) ); > >> data.setValue(15, 1, 0.109786987305); > >> data.setValue(16, 0, new Date(2008, 10, 20, 12, 47, 30) ); > >> data.setValue(16, 1, 0.103317022324); > >> data.setValue(17, 0, new Date(2008, 10, 20, 12, 47, 41) ); > >> data.setValue(17, 1, 0.0847799777985); > >> data.setValue(18, 0, new Date(2008, 10, 20, 12, 47, 45) ); > >> data.setValue(18, 1, 0.0586249828339); > >> data.setValue(19, 0, new Date(2008, 10, 20, 12, 53, 26) ); > >> data.setValue(19, 1, 0.568917989731); > >> data.setValue(20, 0, new Date(2008, 10, 20, 12, 53, 33) ); > >> data.setValue(20, 1, 0.0261428356171); > > >> the problem with this is that from point to point there is a line, I > >> need the lines to go back to zero after every point or else I end up > >> with a graph that looks like this (notice the slanted lines between > >> points, i want the line to immediately drop back to the baseline): > > >> is there a configuration option which will automatically drop the > >> values back to the baseline after each date or do i need to add a 0 > >> value after each point myself? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
