An alternative to consider for your domain axis is to set the hAxis.type
option to 'category', so that it behaves more like discrete values, with
the axis tick centered on each step, but the spacing between category ticks
will all be identical.  See an example at:
https://jsfiddle.net/dlaliberte/puobter1/3/

On Mon, Jan 13, 2020 at 11:31 AM Daniel LaLiberte <[email protected]>
wrote:

> SteppedArea would probably be easier to deal with, and a few thousand data
> points should be no problem.   The values can be 0s and 1s, or true and
> false, though not many people use the boolean type, so you may discover
> some issues.
>
> You may want to set the area opacity to 0, to show only the lines.  The
> domain values being continuous time values (rather than discrete string
> values) means that each of the steps will be labeled on the trailing end,
> which means you will need an extra initial value before your first row of
> data.
>
> Hope that helps.
>
> On Mon, Jan 13, 2020 at 11:16 AM Eljakim Burger <[email protected]>
> wrote:
>
>> Dear all,
>>
>> I would like to display the behaviour of a bit on a time-axis. Like you
>> see in a logic analyzer (See added image). Would this be possible with
>> Google Charts? I suppose, the chart type "SteppedAreaChart" would be the
>> best option, to prevent diagonal lines.
>>
>> The chart should be capable of handling over a 1000 datapoints, if this
>> is possible?
>>
>> Thanks in advance.
>>
>> Best regards,
>> Eljakim Burger
>>
>> --
>> 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/40bee20d-3e25-4e66-880a-399c8600ff39%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-visualization-api/40bee20d-3e25-4e66-880a-399c8600ff39%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <[email protected]>   Cambridge MA
> go/gviz-headcount <https://goto.google.com/gviz-headcount>
>


-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   Cambridge MA
go/gviz-headcount

-- 
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/CAOtcSJN%2BtzQHksD04ZfYKOT5dbRhfRyv1DUi%2BMKwGLvPaBYOew%40mail.gmail.com.

Reply via email to