The problem you are seeing is because at least two of your domain values
are so close that, compared to the range of values, they are on top of each
other.  So the minimum width between adjacent values is effectively 0.
This causes the bar width to be reduced to the minimum of 1.

If you want to see all of your domain values spaced out equally as if they
were discrete values, you could convert your datetime values into strings,
or add hAxis: { type: 'category' } to your options.   Here is a working
version of your jsfiddle:   https://jsfiddle.net/11xztusu/9/

On Mon, Feb 19, 2018 at 4:47 AM, Jan Zelinka <jan.zeli...@partnering.sk>
wrote:

> Hello,
> I would like to ask how does the groupWidth property works. I have
> datetime type values on horizontal axis and number types on vertical axis.
> When I draw my chart, the width of columns is too thin and I dont
> understand why. When I inspect the generated HTML there is a <g> tag and
> inside are <rect> tags for graph values. And these rect tags have property
> width of value = 1. What am I doing wrong ?
> Here is jsfiddle: https://jsfiddle.net/11xztusu/
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> 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/6f17b9bf-58ed-4358-9882-
> 51c7e8790caf%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/6f17b9bf-58ed-4358-9882-51c7e8790caf%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>
dlalibe...@google.com <dlalibe...@google.com>   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 google-visualization-api+unsubscr...@googlegroups.com.
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/CAOtcSJMfOYZgYAseHN0a7d2Man%3DiVnZTyAdvW%2BO1Er7KfOfo2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to