Hi,
I've got a question with Google Chart Api. I'm working with a line chart
and the chart I got is like in https://screenshot.googleplex.com/fEXNxccxPDL.
The source code is pasted below. I was wondering why one line (latency90)
was not fully rendered and cropped at the axes, while I didn't limit the
range of the axes. How can I fix it?
Source code:
function drawPercentileChart() {
var data = google.visualization.arrayToDataTable([
['Input Size', 'Latency90', 'Latency95', 'Latency99'],
[24,0.002554,0.072793,0.149816],[703,0.09132,0.124971,0.160408],[1445,0.002195,0.003453,0.136512],[1770,0.004233,0.09182,0.158947],[2977,0.002291,0.003246,0.143211],[3746,0.023668,0.11503,0.16272],[5374,0.138668,0.154774,0.247731],[13954,0.156415,0.165572,0.572356],[42616,0.162455,0.17263,0.522577],[116764,0.17433,0.197336,0.559476]
]);
var options = {
title: 'worry_scorer_dc_autopush latency percentile',
curveType: 'function',
width: 1024,
height: 768,
pointSize: 10,
hAxis: {
title: "Input size (bytes)",
scaleType: "log",
},
vAxis: {
title: "Latency (seconds)",
scaleType: "log",
},
};
var chart = new
google.visualization.LineChart(document.getElementById('line_chart'));
chart.draw(data, options);
}
Thank you!
Yi
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/997c50c2-98bb-4719-b33d-9a13e1e9f366%40googlegroups.com.