Any advice on making a LAP Chart please?

35 views
Skip to first unread message

JerryK

unread,
Dec 5, 2016, 12:28:34 PM12/5/16
to Google Visualization API
We see it on TV screens in motor races, for example.
Down the left Y-axis is a list of drivers in starting-grid order, with 1st place (pole position) at the top at X=0, Y=1. 
I guess there will be a Y2 axis with simply position numbers, again 1 is at the top.
Lap numbers are along the X-axis.
Each car's progress through the race is mapped with a line showing their position at the end of each lap.
Each car could have his own colour/marker.
Hanged if I can see how to do all of that.
Thanks people
Jerry

Daniel LaLiberte

unread,
Dec 5, 2016, 12:51:18 PM12/5/16
to Google Visualization API
Hi Jerry,

Basically, you would just use a datatable with one row per time step, and the first column would just be the time steps. All the rest of the columns for a row would represent each of the pole positions, 1 through N, for N positions.  Each column would represent one driver.  If you use a LineChart, this would give you the right chart except for labeling.  If you get that far, then I can help you with how to change the labeling.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/44d87037-66ce-49de-a109-fc34bbd0f8c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

JerryK

unread,
Dec 6, 2016, 6:14:52 AM12/6/16
to Google Visualization API
Thanks Daniel
It didn't seem that straightforward but I'll give it a go when I next have some time.
J


On Monday, 5 December 2016 17:51:18 UTC, Daniel LaLiberte wrote:
Hi Jerry,

Basically, you would just use a datatable with one row per time step, and the first column would just be the time steps. All the rest of the columns for a row would represent each of the pole positions, 1 through N, for N positions.  Each column would represent one driver.  If you use a LineChart, this would give you the right chart except for labeling.  If you get that far, then I can help you with how to change the labeling.
On Mon, Dec 5, 2016 at 12:28 PM, JerryK <flig...@gmail.com> wrote:
We see it on TV screens in motor races, for example.
Down the left Y-axis is a list of drivers in starting-grid order, with 1st place (pole position) at the top at X=0, Y=1. 
I guess there will be a Y2 axis with simply position numbers, again 1 is at the top.
Lap numbers are along the X-axis.
Each car's progress through the race is mapped with a line showing their position at the end of each lap.
Each car could have his own colour/marker.
Hanged if I can see how to do all of that.
Thanks people
Jerry

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages