Well, i need to create a script that will generate a line chart to 
demonstrate some data from an any report. 

One of the rules i need to follow is that the chart needs to have the 
CURVED LINES.
The script contains the command below to do this: 

var chart = sheet.newChart().asLineChart().setOption('curveType', 
'function');

But, when the chart is created, the curve goes below 0 (zero), even i don't 
have negative data.

Example in the image below.

<https://lh3.googleusercontent.com/-MfLwnSznZgc/WKbeMID396I/AAAAAAAAAK0/hZ5uxix4GeMN3tLU9BOPg7OJDPfURLFjQCLcB/s1600/Sem%2Bt%25C3%25ADtulo.png>

For smaller data, the curve is less noticeable. But still it is something 
that brings incorrect data as there are no negative records.

I have been looking for solutions to this problem but I have not found 
anything.

Exist any setting for that? I did something wrong?

Ps: Another thing that bothers me is the vertical axis being negative 
(-10). But I set the minimum value to zero and the part that is negative 
hides. But the curve continues to go below zero.

Thanks in advanced.

-- 
This email (including any attachments) is confidential and intended solely 
for the exclusive use of its intended recipient(s). If you are not the 
intended recipient(s) you should not read, forward, disclose or disseminate 
this message (including any attachments) in any form to another person, use 
it for any purpose or store or copy its contents in any medium. Instead, 
please notify the sender by email, fax or phone, and destroy this email and 
any attachments.

-- 
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/1fc93dec-6d50-4992-9c00-4e7d899e885d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to