机器数据分析平台

  • 机器数据分析平台 > 应用开发者文档 > APP开发手册 > XML 引用 > xml参考手册 >chart > title-font

    title-font

    最近更新时间: 2020-02-18 18:24:02

    • 对于单值图类型的图表,可使用 <title-font> 元素定义标题的字体。

    父元素

    <chart>元素下,只有当 type 属性指定如下值时,才能使用<title-font> 元素。

    • <chart type="pie-ring-bucket">
    • <chart type="pie-ring-metric">
    • <chart type="single-gauge">
    • <chart type="single-percent">

    子元素

    子元素 说明 默认值
    <font-weight> 字体粗细 'normal'
    <font-family> 字体 'PingFang SC'
    <color> 字体颜色 '#42526E'
    <font-size> 字体大小 20

    示例

    <title-font>
      <font-weight>normal</font-weight>
      <font-family>PingFang SC</font-family>
      <color>#C1C7D0</color>
      <font-size>64</font-size>
    </title-font>
    
    以上内容是否对您有帮助?
  • Qvm free helper
    Close