control the labels in Timeline charts

22 views
Skip to first unread message

Youying Lin

unread,
Dec 20, 2016, 5:45:01 PM12/20/16
to Google Visualization API
Hi Gviz users,

I am new to Google charts and I am trying to make a graph for website latency with Google charts. Right now I am stuck on making the label to be shown in milliseconds, not seconds. There is documentation on formatting the labels but it does not solve my case. 

My data looks like this:
start  0  end  305
start  0  end  4022
start  8200  end  8281
start  8200  end  8286
start  8279  end  8328

They are all in milliseconds. In my graph, it's shown in seconds which is too big for latency data. Is there a way for me to do some computations on the labels? All I need is to multiply the seconds with 1000 to get milliseconds.

Thank you!
Reply all
Reply to author
Forward
0 new messages