核心图表而不是折线图



我正在使用谷歌可视化图表和谷歌工作表文档中的数据。

它运作良好。但是我想将折线图更改为图表区,我收到一个错误:无效的可视化类型:核心图表。我尝试了其他示例,但核心图表似乎与数据包装器不兼容。

我试过这个:https://jsfiddle.net/pvcb8gnw/

    ChartWrapper({ <- Replaced by ChartArea doesn't work
    chartType: 'LineChart',  <- Replaced by Corechart give the error
    chartType: 'LineChart',  <- Replaced by Areachart give the error

我正在尝试这样做:https://developers.google.com/chart/interactive/docs/gallery/areachart

替换...

chartType: 'LineChart'

跟。。。

chartType: 'AreaChart'

最新更新