Hi Daniel,

Thank you for your answer! I'll specify a lower bound as a workaround. 
Meanwhile is there a bug number tracking this?

On Friday, March 13, 2020 at 8:08:31 AM UTC-7 Daniel LaLiberte wrote:

> Hi Yi,
>
> It looks like you have found a bug.  The lower bound on the y axis is 
> cutting off some values that are in your data, which should not happen by 
> default.  But you should be able to override the default behavior by 
> specifying a vAxis.minValue or vAxis.viewWindow.min of 0.001.
>
> On Thu, Mar 12, 2020 at 10:22 PM 'Yi Ren' via Google Visualization API <
> [email protected]> wrote:
>
>> 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
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/997c50c2-98bb-4719-b33d-9a13e1e9f366%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected]   Cambridge MA
>
>

-- 
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/81952a38-5236-44f8-adee-fff185335ba6%40googlegroups.com.

Reply via email to