If you want your domain values to be unsorted (on the horizontal axis), use
strings instead of numbers.  e.g.

[['0', 15], ['10', -50], ['6', -56.5], ['22', -46.5], ['11', -22.1],
['50', -2.5], ['60', -27.7], ['70', -55.7], ['80', -76.5]]


If that is not what you are thinking of, please be more specific.  Maybe do
a hand drawing of what the chart should look like.

On Sun, Jun 25, 2017 at 3:21 PM, Sergey Filatov <[email protected]> wrote:

> i need to create line like this:
>
> [[0, 15], [10, -50], [6, -56.5], [22, -46.5], [11, -22.1], [50, -2.5], [60, 
> -27.7], [70, -55.7], [80, -76.5]]
>
>
> both values are number type
>
> but google chart always sorts data
>
> how can i disable any sorting ?
>
> --
> 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 google-visualization-api@
> googlegroups.com.
> 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/8651fdc7-ae6e-4afb-bd87-
> 62db88bad40e%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/8651fdc7-ae6e-4afb-bd87-62db88bad40e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, 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 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/CAOtcSJNS_troWpsLV%2BVmb9HvxesvV-x0uqX%3DX%2BBK6nN89aZ%2BXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to