I can't figure out why Google Charts draws this simple chart aligned to center and doesn't fill entire white area.
Note: X axis is discrete because it represents weeks.
Do you have any idea what can I do with it?
I can't figure out why Google Charts draws this simple chart aligned to center and doesn't fill entire white area.
Note: X axis is discrete because it represents weeks.
Do you have any idea what can I do with it?
这就是使用离散 ( string
) 轴时图表的显示方式。如果您想要边到边的线,则需要使用连续的 ( number
, date
, datetime
, timeofday
) 轴。在此处查看差异示例:http: //jsfiddle.net/asgallant/Xfx3h/。