我制作了几个图表(饼图和条形图),由于空间限制,它们需要重新调整大小,这导致为图例部分添加了“1/2 \xe2\x96\xbc”。
\n\n我在这里添加了我的代码:http://codepen.io/qtx/pen/EtHvi \n如果我的问题没有正确显示,这里是我的网站https://i.stack.imgur 的屏幕截图。 com/C45fQ.png,在我想要更改的内容周围画一个圆圈。\n(如果我超过 8 列,它也会显示在条形图中,如上面的示例所示)
\n\n所以我的问题是,有什么方法可以改变该文本/链接的颜色吗?我似乎无法在网上或 api 文档中找到任何内容。
\n\n任何帮助将不胜感激。
\n\n <script type="text/javascript">\n\n // Load the Visualization API and the piechart package.\n google.load(\'visualization\', \'1.0\', {\'packages\':[\'corechart\']});\n\n // Set a callback to run when the Google Visualization API is loaded.\n google.setOnLoadCallback(drawChart);\n\n // Callback that creates and populates a data table,\n // instantiates the pie chart, passes in the data and\n // draws it.\n function drawChart() {\n\n // Create the data table.\n var data = …Run Code Online (Sandbox Code Playgroud)