Following a example I found on StackOverflow, I tried adding an extra
column, with type='timeofday' and role='annotation'*, an extra row with the
time and an **annotation** style=*'line'*, but that does not work.*
*var numCols=graphData.cols.length; graphData.cols[numCols]={id:'timeLine',
type: 'timeofday', role: 'annotation'};var
numRows=graphData.rows.length;graphData.rows[numRows]={c:[]};graphData.rows[numRows].c[numCols]=[10,
47,
0];graphOptions.annotation=[];graphOptions.annotation[numCols]={style:'line'};chart.draw(graphData,
graphOptions);*
On Sunday, February 21, 2016 at 6:42:19 PM UTC+2, Steve Morris wrote:
>
> How do I add a vertical line marker to a stacked ColumnChart (the red line
> in the attached bitmap)?
> The X-axis is continuous and the x-positions of the columns
> are "timeofday". The marker will indicate the current time.
>
>
> <https://lh3.googleusercontent.com/-2ZodvdRcxZw/VsnnqiR5asI/AAAAAAABO1g/d4iK15QxwCg/s1600/Image5.png>
>
>
>
--
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 [email protected].
To post to this group, send email to [email protected].
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/8fe7dd0b-c995-4bd9-be45-55653143211d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.