Javascript 如何更改google可视化表和it列的css属性?
如何更改google可视化表及其列的css属性?我在dev网站上读过如何调整单个单元格和行背景、文本颜色等,但没有关于如何调整列或表边框、颜色、填充等的信息 此代码来自google,示例也可以在中找到 CSS属性:Javascript 如何更改google可视化表和it列的css属性?,javascript,html,css,google-visualization,data-visualization,Javascript,Html,Css,Google Visualization,Data Visualization,如何更改google可视化表及其列的css属性?我在dev网站上读过如何调整单个单元格和行背景、文本颜色等,但没有关于如何调整列或表边框、颜色、填充等的信息 此代码来自google,示例也可以在中找到 CSS属性: <style> .orange-background { background-color: orange; } .orchid-background { background-color: orchid; } .beige-background {
<style>
.orange-background {
background-color: orange;
}
.orchid-background {
background-color: orchid;
}
.beige-background {
background-color: beige;
}
</style>
没有引用整个列或表的类名称属性。我的首要任务是消除外部的桌板,调整列宽,使整个桌子更小
提前谢谢 我在谷歌搜索了一下“
googlevisualizationtable
”,发现了这个
它有多个表格css属性示例,即:
.google-visualization-table-table {
font-family: arial, helvetica;
font-size: 10pt;
cursor: default;
margin: 0;
background: white;
border-spacing: 0;
}
谢谢你的帮助 我在谷歌搜索了一下“
googlevisualizationtable
”,发现了这个
它有多个表格css属性示例,即:
.google-visualization-table-table {
font-family: arial, helvetica;
font-size: 10pt;
cursor: default;
margin: 0;
background: white;
border-spacing: 0;
}
谢谢你的帮助 该表具有可以设置样式的类
googlevisualizationtable
。没有要设置样式的列元素,因此您必须设置表中单元格的宽度。该表具有可以设置样式的类google visualization table
。没有要设置样式的列元素,因此必须设置表中单元格的宽度。