我在c3js中试过这个例子。Demo有人知道如何增加工具提示内容(标题和值)的字体大小吗?任何帮助都将不胜感激。
ccrfmcuu1#
您可以将自订font-size设定为tspan元素:
font-size
tspan
tspan { font-size: 20px;}
tspan {
font-size: 20px;
}
uemypmqf2#
覆盖以下选择器的字体值:
.c3-tooltip th { /* for the header */}.c3-tooltip td.name { /* for the title cells */}.c3-tooltip td.value { /* for the value cells */}
.c3-tooltip th {
/* for the header */
.c3-tooltip td.name {
/* for the title cells */
.c3-tooltip td.value {
/* for the value cells */
示例
第一个
2条答案
按热度按时间ccrfmcuu1#
您可以将自订
font-size
设定为tspan
元素:uemypmqf2#
覆盖以下选择器的字体值:
示例
第一个