我正在使用 Google 图表的表格模式,并且我希望表格中的内容(文本)与边框有一定的距离。我尝试使用 css,但是 padding、margin 和它们的变体都不起作用。与 tableCell 属性相关联的 css(它是 google chart 表格的 cssClassNames 属性的一部分)有效,因为可以设置边框和背景颜色。但是当我尝试设置内边距或外边距时,没有任何改变。那么我需要做什么才能在表格中创建边框和内容之间的距离呢?
这是我使用的 Google 图表表格:https://developers.google.com/chart/interactive/docs/gallery/table
这是我使用的 Google 图表表格:https://developers.google.com/chart/interactive/docs/gallery/table