1

I am new to google charts. I am using ChartWrapper to draw my chart and I am passing a chart wrapper arguments to the constructor when creating a chart like this:

var chartWrapperArgs = {
                chartType: "LineChart",
                dataTable: dataTable,
                options: { // <<<< where to find a documentations about this property ?
                    "width": 900,
                    "height": 800,
                    "is3D": true,
                    "title": "Явление на числата ",
                    "isStacked": "false",
//                    "fill": 20,
                    "displayExactValues": false,
                    "vAxis": {
                        "title": "явление"
                    },
                    "hAxis": {
                        "title": "число"
                    }
                },
                containerId: containerId
            };


            var chartWrapper = new google.visualization.ChartWrapper(chartWrapperArgs); 

My question is where to get a documentations about the "options" parameter ? what option can I pass to "options" ?

I checked out Google documentation here but they only describe what option, give simple example and thats all. However I found that in some of there, and others, code example other parameters are used !

4

1 回答 1

6

适当的选项取决于图表类型,并且选项的文档与有关图表类型的其他文档一起。请参阅https://developers.google.com/chart/interactive/docs/gallery上的列表

对于 LineChart,选项记录在这里:https ://developers.google.com/chart/interactive/docs/gallery/linechart#Configuration_Options

于 2013-08-25T00:07:32.167 回答