借助报表主题,可以将颜色主题应用于整个报表,如企业品牌颜色、流行色或可能要应用于报表的其他任何颜色主题。 应用报表主题时,报表中的所有视觉对象都会使用选定主题中的颜色(少数例外情况除外,本文后面将予以介绍)。

应用报表主题需要使用具有基本结构的 JSON 文件,以便可以将其导入 Power BI Desktop 并应用于报表。 JSON 文件结构以及导入过程(只需单击几下按钮)上手起来都十分快速简单。

从 2017 年 9 月发行版 Power BI Desktop 开始,可以使用 JSON 文件定义更多的报表主题元素,并使用 JSON 文件(可以在“格式设置”窗格中手动调整)自定义(和标准化)几乎所有元素。 2017 年 9 月发行版(和更高版本)的目标是能够完全精细地控制报表外观。

启用处于预览阶段的报表主题

2017 年 3 月发布的 Power BI Desktop 开始,可以尝试使用全新的报表主题功能。 若要启用此预览功能,请依次选择“文件 > 选项和设置 > 选项 > 预览功能”,然后选中“自定义报表主题”旁边的复选框。 选中此复选框后,需要重启 Power BI Desktop

报表主题的工作原理

若要将报表主题应用于 Power BI Desktop 报表,请选择“开始”功能区中的“切换主题”按钮,然后选择下拉列表中的“导入主题”。

此时,你会看到一个窗口,可以从中转到 JSON 主题文件所在的位置。 Power BI Desktop 会查找 .JSON 文件(这是 Power BI 报表主题文件类型)。 下图中提供了一些假日主题文件。 我们将选择 3 月的假日主题。

成功加载主题文件后,Power BI Desktop 会提示你。

至此,我们已导入主题文件,让我们看看简单明了的 JSON 文件结构。

报表主题 JSON 文件的结构

在编辑器中打开我们在上一部分中选择的基本 JSON 文件(即 St Patricks Day.json 文件),其内容如下所示。

该 JSON 文件必须包含以下各行:

  • name - 这是主题名称,也是唯一的必填字段
  • dataColors - 要对 Power BI Desktop 视觉对象数据使用的十六进制颜色代码列表。 此列表中的颜色数量视具体需求而定
  • backgroundforegroundtableAccent - 这些值是矩阵视觉对象中应使用的颜色。 这些颜色的使用方式具体取决于所应用的表样式或矩阵样式。 表和矩阵视觉对象默认应用这些样式。

若要对矩阵视觉对象应用样式,请选择相应的视觉对象,选择“可视化效果”窗格中的“格式”部分,然后展开“矩阵样式”,从“样式”下拉列表中选择一个样式。

为了方便你通过简单的剪切粘贴操作来创建自己的 JSON 文件,下面提供了 St Patricks Day.json 文件的文本:

{
    "name": "St Patricks Day",
    "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"],
    "background":"#FFFFFF",
    "foreground": "#3A6108",
    "tableAccent": "#568410"
}

可以在其中为选定颜色输入你自己的十六进制颜色代码。

从 2017 年 9 月发行版 Power BI Desktop 开始,JSON 文件将更加详尽。 在 JSON 文件中,只定义你想要产生效果的格式设置,而未在 JSON 文件中指定的任何格式设置都将恢复为 Power BI 默认设置。

创建 JSON 文件具有多种优点。 例如,可以指定所有图表都使用字体大小 12,或指定某些视觉对象使用特定字体系列,或禁用特定图表类型的数据标签。

如果能够使用细粒度 JSON 文件,则可以创建一个可标准化图表和报表的主题文件,便于使组织报表保持一致。

有关详细的 JSON 文件的格式信息,请参阅本文末尾的报表主题 JSON 文件格式部分。

如何在报表中保留报表主题颜色

将报表发布到 Power BI 服务时,报表主题颜色也会随之一同发布。

此外,“格式”面板的“数据颜色”部分能够反映出报表主题。 例如,应用“圣帕特里克节”主题的大量绿色和棕色后,选择视觉对象,然后依次转到“格式 > 数据颜色”,将看到以下内容。

看到所有这些绿色了吗? 这是因为我们导入和应用的报表主题包含这些颜色。

无法在报表中保留报表主题颜色的情况

如果将自定义颜色集(或单独的颜色)应用于视觉对象中的特定数据点,那么应用报表主题则*不会*替代自定义的数据点颜色。

此外,如果已使用调色板的“主题颜色”部分手动设置数据点的颜色,那么在应用新的报表主题后,手动设置的这一种或多种颜色将*不会*更新。 若要恢复默认颜色(以便在应用新的报表主题时更新全部颜色),可以选择“主题颜色”调色板中的“恢复到默认值”。

此外,许多自定义视觉对象也不会应用报表主题。

可以立即使用的报表主题文件

想开始使用报表主题吗? 很棒! 下面介绍了一些现成的报表主题 JSON 文件,以供你将其下载并导入 Power BI Desktop 报表。此外,还展示了本文中使用的报表在应用了这些报表主题后的图像。

  • 最后是一个可爱的主题(“*情人节*”主题),一定会吸引你的注意。

下面提供了“情人节”主题 JSON 文件的代码,无需下载:

{
    "name": "Valentine's Day",
    "dataColors": ["#990011", "#cc1144", "#ee7799", "#eebbcc", "#cc4477", "#cc5555", "#882222", "#A30E33"],
    "background":"#FFFFFF",
    "foreground": "#ee7799",
    "tableAccent": "#990011"
}

报表主题可以让 Power BI Desktop 报表通过缤纷色彩来展示你、你的组织或当前季节或假日。 如此简单易用,快来使用吧!

也可以从下面的一些补充报表主题入手:

报表主题 JSON 文件格式

基本 JSON 文件有五个必需的行:

  • name - 这是主题名称,也是唯一的必填字段
  • dataColors - 要对 Power BI Desktop 视觉对象数据使用的十六进制颜色代码列表。 此列表中的颜色数量视具体需求而定
  • backgroundforegroundtableAccent - 这些值是矩阵视觉对象中应使用的颜色。 这些颜色的使用方式具体取决于所应用的表样式或矩阵样式。 表和矩阵视觉对象默认应用这些样式。

若要创建一个扩展格式的 JSON 文件,并对格式设置进行更详细的粒度控制,需要向 JSON 文件添加一个 visualStyles 部分,并在该部分中嵌套格式设置具体内容。 visualStyles 部分的格式如下所示:

visualStyles: {
    visualName: {
        styleName: {
            cardName: [{
                propertyName: propertyValue
            }]
        }
    }
}

对于 visualName和 cardName 部分,可以列出特定视觉对象和 cardName,也可以使用星号(“*”)(如果你希望将该设置应用到所有视觉对象或者包含特定视觉对象属性的所有卡)。如果希望在报表中全局应用一个设置(例如应在报告的所有视觉对象中使用的字体大小或特定字体系列),可以使用星号(“*”)。

注意:只需指定你想要产生效果的格式设置元素。 未包含在 JSON 文件中的任何格式设置元素都将恢复为它们的默认值和设置。

JSON 文件元素定义

此部分中的表定义视觉对象名称 (visualName)、卡名称 (cardName),以及创建 JSON 文件所需的枚举。

使用 dateTime 时,日期必须是用单引号括住的 ISO 日期,以“datetime”开头,如下所示:

“datetime’2011-10-05T14:48:00.000Z’”

布尔值为 true 或 false。 字符串必须用双引号括起来,如“这是一个字符串”。

visualName
areaChart
barChart
basicShape
卡片图
clusteredBarChart
clusteredColumnChart
columnChart
comboChart
donutChart
filledMap
漏斗图
仪表盘
hundredPercentStackedBarChart
hundredPercentStackedColumnChart
image
kpi
lineChart
lineClusteredColumnComboChart
lineStackedColumnComboChart
映射图
multiRowCard
pieChart
pivotTable
ribbonChart
scatterChart
shapeMap
切片器
stackedAreaChart
tableEx
树状图
waterfallChart

下表定义了 cardName 值。 每个单元格中的第一个值是 JSON 文件术语,第二个值是卡名,如用户界面 Power BI Desktop 中所示。

cardName
axis: Gauge axis
breakdown: Breakdown
bubbles: Bubbles
calloutValue: Callout Value
card: Card
cardTitle: Card Title
categoryAxis: X-Axis
categoryLabels: Category labels
columnFormatting: Field formatting
columnHeaders: Column headers
dataLabels: Data labels
fill: Fill
fillPoint: Fill point
forecast: Forecast
general: General
goals: Goals
grid: Grid
header: Header
imageScaling: Scaling
indicator: Indicator
items: Items
labels: Data labels
legend: Legend
lineStyles: Shapes
mapControls: Map controls
mapStyles: Map styles
numericInputStyle: Numeric inputs
percentBarLabel: Conversion Rate Label
plotArea: Plot Area
plotAreaShading: Symmetry shading
ratioLine: Ratio line
referenceLine: Constant Line
ribbonChart: Ribbons
rotation: Rotation
rowHeaders: Row headers
selection: Selection Controls
sentimentColors: Sentiment colors
shape: Shape
slider: Slider
status: Color coding
subTotals: Subtotals
target: Target
total: Grand total
trend: Trend Line
trendline: Trend axis
valueAxis: Y-Axis
values: Values
wordWrap: Word wrap
xAxisReferenceLine: X-Axis Constant Line
y1AxisReferenceLine: Constant Line
zoom: Zoom

每个卡中的属性

下面的部分定义了每个卡中的属性。

"general":
    "responsive": {
      "type": [
        "bool"
      ],
      "displayName": [
        "(Preview) Responsive"
      ],
      "description": [
        "The visual will adapt to size changes"
      ]
    }
    "legend": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "position": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ],
      "description": [
        "Select the location for the legend"
      ]
    },
    "showTitle": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Title"
      ],
      "description": [
        "Display a title for legend symbols"
      ]
    },
    "labelColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    }
  },
"categoryAxis": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "axisScale": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Scale type"
      ]
    },
    "start": {
      "type": [
        "numeric",
        "dateTime"
      ],
      "displayName": [
        "Start"
      ],
      "description": [
        "Enter a starting value (optional)"
      ]
    },
    "end": {
      "type": [
        "numeric",
        "dateTime"
      ],
      "displayName": [
        "End"
      ],
      "description": [
        "Enter an ending value (optional)"
      ]
    },
    "axisType": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Type"
      ]
    },
    "showAxisTitle": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Title"
      ],
      "description": [
        "Title for the X-axis",
        "Title for the Y-axis"
      ]
    },
    "axisStyle": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Style"
      ]
    },
    "labelColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "labelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    },
    "labelPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the values"
      ]
    },
    "concatenateLabels": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Concatenate labels"
      ],
      "description": [
        "Always concatenate levels of the hierarchy instead of drawing the hierarchy."
      ]
    },
    "preferredCategoryWidth": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Minimum category width"
      ]
    },
    "titleColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Title color"
      ]
    },
    "titleFontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "titleFontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Title text size"
      ]
    },
    "position": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ],
      "description": [
        "Select left or right"
      ]
    },
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "duration": {
      "type": [
        "numeric"
      ]
    }
  },
"valueAxis": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "position": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ],
      "description": [
        "Select left or right"
      ]
    },
    "axisScale": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Scale type"
      ]
    },
    "start": {
      "type": [
        "numeric",
        "dateTime"
      ],
      "displayName": [
        "Start"
      ],
      "description": [
        "Enter a starting value (optional)"
      ]
    },
    "end": {
      "type": [
        "numeric",
        "dateTime"
      ],
      "displayName": [
        "End"
      ],
      "description": [
        "Enter an ending value (optional)"
      ]
    },
    "showAxisTitle": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Title"
      ],
      "description": [
        "Title for the Y-axis",
        "Title for the X-axis"
      ]
    },
    "axisStyle": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Style"
      ]
    },
    "labelColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "labelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    },
    "labelPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the values"
      ]
    },
    "titleColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Title color"
      ]
    },
    "titleFontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "titleFontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Title text size"
      ]
    },
    "axisLabel": {
      "type": [
        "none"
      ],
      "displayName": [
        "Y-Axis (Column)"
      ]
    },
    "secShow": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show secondary"
      ]
    },
    "alignZeros": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Align zeros"
      ],
      "description": [
        "Align the zero tick marks for both value axes"
      ]
    },
    "secAxisLabel": {
      "type": [
        "none"
      ],
      "displayName": [
        "Y-Axis (Line)"
      ]
    },
    "secPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ],
      "description": [
        "Select left or right"
      ]
    },
    "secAxisScale": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Scale type"
      ]
    },
    "secStart": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Start"
      ],
      "description": [
        "Enter a starting value (optional)"
      ]
    },
    "secEnd": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "End"
      ],
      "description": [
        "Enter an ending value (optional)"
      ]
    },
    "secShowAxisTitle": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Title"
      ],
      "description": [
        "Title for the Y-axis"
      ]
    },
    "secAxisStyle": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Style"
      ]
    },
    "secLabelColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ]
    },
    "secFontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "secFontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "secLabelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    },
    "secLabelPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the values"
      ]
    },
    "secTitleColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Title color"
      ]
    },
    "secTitleFontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "secTitleFontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Title text size"
      ]
    }
  },
"dataPoint": {
    "defaultColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Default color",
        "Default Column Color"
      ]
    },
    "fill": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Fill"
      ]
    },
    "defaultCategoryColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Default color",
        "Default Column Color"
      ]
    },
    "showAllDataPoints": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show all"
      ]
    }
  },
"labels": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "showSeries": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "labelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    },
    "labelPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the values"
      ]
    },
    "showAll": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Customize series"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "labelDensity": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Label density"
      ]
    },
    "labelOrientation": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Orientation"
      ]
    },
    "labelPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ]
    },
    "percentageLabelPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "% decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the percentages"
      ]
    },
    "labelStyle": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Label style"
      ]
    }
  },
"lineStyles": {
    "strokeWidth": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Stroke width"
      ]
    },
    "strokeLineJoin": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Join type"
      ]
    },
    "lineStyle": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Line style"
      ]
    },
    "showMarker": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show marker"
      ]
    },
    "markerShape": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Marker shape"
      ]
    },
    "markerSize": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Marker size"
      ]
    },
    "markerColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Marker color"
      ]
    },
    "showSeries": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Customize series",
        "Show"
      ]
    },
    "shadeArea": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Shade area"
      ]
    }
  },
"plotArea": {
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for background color"
      ]
    }
  },
"trend": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "displayName": {
      "type": [
        "text"
      ],
      "displayName": [
        "Name"
      ],
      "description": [
        "Set trend line name"
      ]
    },
    "lineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set trend line color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for trend line color"
      ]
    },
    "style": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Style"
      ],
      "description": [
        "Set trend line style"
      ]
    },
    "combineSeries": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Combine Series"
      ],
      "description": [
        "Show one trend line per series or combine"
      ]
    }
  },
  "y1AxisReferenceLine": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "value": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value"
      ],
      "description": [
        "Set reference line numeric value "
      ]
    },
    "lineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set reference line color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for reference line color"
      ]
    },
    "style": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Line style"
      ]
    },
    "position": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ],
      "description": [
        "Arrange relative to chart data points"
      ]
    },
    "dataLabelShow": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Data label"
      ],
      "description": [
        "Display a data label for the reference line"
      ]
    },
    "dataLabelColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set the reference line data label color"
      ]
    },
    "dataLabelDecimalPoints": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Decimal Places"
      ]
    },
    "dataLabelHorizontalPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Horizontal Position"
      ],
      "description": [
        "Set the horizontal position for the reference line data label"
      ]
    },
    "dataLabelVerticalPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Vertical Position"
      ],
      "description": [
        "Set the vertical position for the reference line data label"
      ]
    },
    "dataLabelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    }
  },
"referenceLine": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "displayName": {
      "type": [
        "text"
      ],
      "displayName": [
        "Name"
      ],
      "description": [
        "Set reference line name"
      ]
    },
    "value": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value"
      ],
      "description": [
        "Set reference line numeric value "
      ]
    },
    "lineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set reference line color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for reference line color"
      ]
    },
    "style": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Line style"
      ]
    },
    "position": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ],
      "description": [
        "Arrange relative to chart data points"
      ]
    },
    "dataLabelShow": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Data label"
      ],
      "description": [
        "Display a data label for the reference line"
      ]
    },
    "dataLabelColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set the reference line data label color"
      ]
    },
    "dataLabelDecimalPoints": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Decimal Places"
      ]
    },
    "dataLabelHorizontalPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Horizontal Position"
      ],
      "description": [
        "Set the horizontal position for the reference line data label"
      ]
    },
    "dataLabelVerticalPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Vertical Position"
      ],
      "description": [
        "Set the vertical position for the reference line data label"
      ]
    },
    "dataLabelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    }
  },
"line": {
    "lineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Line color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for background color"
      ]
    },
    "weight": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Weight"
      ]
    },
    "roundEdge": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Round edges"
      ]
    }
  },
"fill": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "fillColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Fill color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for background color"
      ]
    }
  },
"rotation": {
    "angle": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Rotation"
      ]
    }
  },
"categoryLabels": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    }
  },
"wordWrap": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    }
  },
"dataLabels": {
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    }
  },
"cardTitle": {
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    }
  },
"card": {
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "outlineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Outline color"
      ],
      "description": [
        "Color of the outline"
      ]
    },
    "outlineWeight": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Outline weight"
      ],
      "description": [
        "Thickness of the outline in pixels"
      ]
    },
    "barShow": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show bar"
      ],
      "description": [
        "Display a bar to the left side of the card as an accent"
      ]
    },
    "barColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Bar color"
      ]
    },
    "barWeight": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Bar thickness"
      ],
      "description": [
        "Thickness of the bar in pixels"
      ]
    },
    "cardPadding": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Padding"
      ],
      "description": [
        "Background"
      ]
    },
    "cardBackground": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background"
      ]
    }
  },
"percentBarLabel": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    }
  },
"axis": {
    "min": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Min"
      ]
    },
    "max": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Max"
      ]
    },
    "target": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Target"
      ]
    }
  },
"target": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "labelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    },
    "labelPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the values"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    }
  },
"calloutValue": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Select color for data labels"
      ]
    },
    "labelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    },
    "labelPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the values"
      ]
    }
  },
"forecast": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "displayName": {
      "type": [
        "text"
      ],
      "displayName": [
        "Name"
      ],
      "description": [
        "Set forecast name"
      ]
    },
    "confidenceBandStyle": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Confidence band style"
      ],
      "description": [
        "Set forecast confidence band style"
      ]
    },
    "lineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set forecast line color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for background color"
      ]
    },
    "style": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Line style"
      ]
    },
    "transform": {
      "type": [
        "queryTransform"
      ]
    }
  },
"bubbles": {
    "bubbleSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Size"
      ]
    }
  },
"mapControls": {
    "autoZoom": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Auto zoom"
      ]
    },
    "zoomLevel": {
      "type": [
        "numeric"
      ]
    },
    "centerLatitude": {
      "type": [
        "numeric"
      ]
    },
    "centerLongitude": {
      "type": [
        "numeric"
      ]
    }
  },
"mapStyles": {
    "mapTheme": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Theme"
      ]
    }
  },
"shape": {
    "map": {
      "type": [
        "geoJson"
      ]
    },
    "projectionEnum": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Projection"
      ],
      "description": [
        "Projection"
      ]
    }
  },
"zoom": {
    "autoZoom": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Auto zoom"
      ],
      "description": [
        "Zoom in on shapes with available data"
      ]
    },
    "selectionZoom": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Selection zoom"
      ],
      "description": [
        "Zoom in on selected shapes"
      ]
    },
    "manualZoom": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Manual zoom"
      ],
      "description": [
        "Allow user to zoom and pan"
      ]
    }
  },
"xAxisReferenceLine": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "value": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value"
      ],
      "description": [
        "Set reference line numeric value "
      ]
    },
    "lineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set reference line color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for reference line color"
      ]
    },
    "style": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Line style"
      ]
    },
    "position": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Position"
      ],
      "description": [
        "Arrange relative to chart data points"
      ]
    },
    "dataLabelShow": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Data label"
      ],
      "description": [
        "Display a data label for the reference line"
      ]
    },
    "dataLabelColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set the reference line data label color"
      ]
    },
    "dataLabelDecimalPoints": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Decimal Places"
      ]
    },
    "dataLabelHorizontalPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Horizontal Position"
      ],
      "description": [
        "Set the horizontal position for the reference line data label"
      ]
    },
    "dataLabelVerticalPosition": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Vertical Position"
      ],
      "description": [
        "Set the vertical position for the reference line data label"
      ]
    },
    "dataLabelDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    }
  },
"fillPoint": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    }
  },
"colorByCategory": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    }
  },
"plotAreaShading": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "upperShadingColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Upper shading"
      ],
      "description": [
        "Shading color of the upper region"
      ]
    },
    "lowerShadingColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Lower shading"
      ],
      "description": [
        "Shading color of the lower region"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for background color"
      ]
    }
  },
"ratioLine": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "lineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ],
      "description": [
        "Set reference line color"
      ]
    },
    "transparency": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Transparency"
      ],
      "description": [
        "Set transparency for line color"
      ]
    },
    "style": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Line style"
      ]
    }
  },
"grid": {
    "outlineColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Outline color"
      ],
      "description": [
        "Color of the outline"
      ]
    },
    "outlineWeight": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Outline weight"
      ],
      "description": [
        "Thickness of the outline in pixels"
      ]
    },
    "gridVertical": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Vert grid"
      ],
      "description": [
        "Show/Hide the vertical gridlines"
      ]
    },
    "gridVerticalColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Vert grid color"
      ],
      "description": [
        "Color for the vertical gridlines"
      ]
    },
    "gridVerticalWeight": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Vert grid thickness"
      ],
      "description": [
        "Thickness of the vertical gridlines in pixels"
      ]
    },
    "gridHorizontal": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Horiz grid"
      ],
      "description": [
        "Show/Hide the horizontal gridlines"
      ]
    },
    "gridHorizontalColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Horiz grid color"
      ],
      "description": [
        "Color for the horizontal gridlines"
      ]
    },
    "gridHorizontalWeight": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Horiz grid thickness"
      ],
      "description": [
        "Thickness of the horizontal gridlines in pixels"
      ]
    },
    "rowPadding": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Row padding"
      ],
      "description": [
        "Padding in pixels applied to top and bottom of every row"
      ]
    },
    "imageHeight": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Image height"
      ],
      "description": [
        "The height of images in pixels"
      ]
    },
    "textSize": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Text Size"
      ]
    }
  },
"columnHeaders": {
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "backColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background color"
      ],
      "description": [
        "Background color of the cells"
      ]
    },
    "wordWrap": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Word wrap"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "autoSizeColumnWidth": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Auto-size column width"
      ]
    },
    "urlIcon": {
      "type": [
        "bool"
      ],
      "displayName": [
        "URL icon"
      ],
      "description": [
        "Show an icon instead of the full URL"
      ]
    }
  },
"values": {
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "backColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color scales"
      ]
    },
    "fontColorPrimary": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the odd rows"
      ]
    },
    "backColorPrimary": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background color"
      ],
      "description": [
        "Background color of the odd rows"
      ]
    },
    "fontColorSecondary": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Alternate font color"
      ],
      "description": [
        "Font color of the even rows"
      ]
    },
    "backColorSecondary": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Alternate background color"
      ],
      "description": [
        "Background color of the even rows"
      ]
    },
    "urlIcon": {
      "type": [
        "bool"
      ],
      "displayName": [
        "URL icon"
      ],
      "description": [
        "Show an icon instead of the full URL"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "wordWrap": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Word wrap"
      ]
    },
    "bandedRowHeaders": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Banded row style"
      ],
      "description": [
        "Apply banded row style to the last level of the row group headers, using the colors of the values."
      ]
    },
    "valuesOnRow": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show on rows"
      ],
      "description": [
        "Show values in row groups rather than columns"
      ]
    }
  },
"total": {
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "backColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background color"
      ],
      "description": [
        "Background color of the cells"
      ]
    },
    "applyToHeaders": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Apply to labels"
      ]
    },
    "totals": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Totals"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    }
  },
"columnFormatting": {
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "backColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background color"
      ],
      "description": [
        "Background color of the cells"
      ]
    },
    "styleHeader": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Color header"
      ]
    },
    "styleValues": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Color values"
      ]
    },
    "styleTotal": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Color total"
      ]
    },
    "styleSubtotals": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Color subtotals"
      ]
    }
  },
"rowHeaders": {
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "backColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background color"
      ],
      "description": [
        "Background color of the cells"
      ]
    },
    "wordWrap": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Word wrap"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "stepped": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Stepped layout"
      ],
      "description": [
        "Render row headers with stepped layout"
      ]
    },
    "steppedLayoutIndentation": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Stepped layout indentation"
      ],
      "description": [
        "Set the indentation, in pixels, applied to row headers"
      ]
    },
    "urlIcon": {
      "type": [
        "bool"
      ],
      "displayName": [
        "URL icon"
      ],
      "description": [
        "Show an icon instead of the full URL"
      ]
    }
  },
"subTotals": {
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "backColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background color"
      ],
      "description": [
        "Background color of the cells"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "fontSize": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "rowSubtotals": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Total row"
      ]
    },
    "columnSubtotals": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Total column"
      ]
    },
    "applyToHeaders": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Apply to labels"
      ]
    }
  },
"selection": {
    "selectAllCheckboxEnabled": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Select All"
      ]
    },
    "singleSelect": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Single Select"
      ]
    }
  },
"header": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "background": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background"
      ]
    },
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "textSize": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    }
  },
"items": {
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "background": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background"
      ]
    },
    "outline": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Outline"
      ]
    },
    "textSize": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    }
  },
"numericInputStyle": {
    "fontColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Font color"
      ],
      "description": [
        "Font color of the cells"
      ]
    },
    "textSize": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Text Size"
      ]
    },
    "fontFamily": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Font family"
      ]
    },
    "background": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Background"
      ]
    }
  },
"slider": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    },
    "color": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Color"
      ]
    }
  },
"dateRange": {
    "includeToday": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Include today"
      ]
    }
  },
"sentimentColors": {
    "increaseFill": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Increase"
      ]
    },
    "decreaseFill": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Decrease"
      ]
    },
    "totalFill": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Total"
      ]
    },
    "otherFill": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Other"
      ]
    }
  },
"breakdown": {
    "maxBreakdowns": {
      "type": [
        "integer"
      ],
      "displayName": [
        "Max breakdowns"
      ],
      "description": [
        "The number of individual breakdowns to show (rest grouped into Other)"
      ]
    }
  },
"indicator": {
    "indicatorDisplayUnits": {
      "type": [
        "formatting"
      ],
      "displayName": [
        "Display units"
      ],
      "description": [
        "Select the units (millions, billions, etc.)"
      ]
    },
    "indicatorPrecision": {
      "type": [
        "numeric"
      ],
      "displayName": [
        "Value decimal places"
      ],
      "description": [
        "Select the number of decimal places to display for the values"
      ]
    },
    "kpiFormat": {
      "type": [
        "text"
      ],
      "displayName": [
        "Format"
      ]
    }
  },
"trendline": {
    "show": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Show"
      ]
    }
  },
"goals": {
    "showGoal": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Goal"
      ]
    },
    "showDistance": {
      "type": [
        "bool"
      ],
      "displayName": [
        "Distance"
      ]
    }
  },
"status": {
    "direction": {
      "type": [
        "enumeration"
      ],
      "displayName": [
        "Direction"
      ]
    },
    "goodColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Good Color"
      ]
    },
    "neutralColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Neutral Color"
      ]
    },
    "badColor": {
      "type": [
        "fill"
      ],
      "displayName": [
        "Bad Color"
      ]
    }
  }

JSON 文件中的枚举

以下部分定义了可以在 JSON 文件中使用的枚举。

{
    "legend": {
        "position": [
            {
                "value": "Top",
                "displayName": "Top"
            },
            {
                "value": "Bottom",
                "displayName": "Bottom"
            },
            {
                "value": "Left",
                "displayName": "Left"
            },
            {
                "value": "Right",
                "displayName": "Right"
            },
            {
                "value": "TopCenter",
                "displayName": "Top Center"
            },
            {
                "value": "BottomCenter",
                "displayName": "Bottom Center"
            },
            {
                "value": "LeftCenter",
                "displayName": "Left Center"
            },
            {
                "value": "RightCenter",
                "displayName": "Right center"
            }
        ],
        "legendMarkerRendering": [
            {
                "value": "markerOnly",
                "displayName": "Markers only"
            },
            {
                "value": "lineAndMarker",
                "displayName": "Line and markers"
            },
            {
                "value": "lineOnly",
                "displayName": "Line only"
            }
        ]
    },
    "categoryAxis": {
        "axisScale": [
            {
                "value": "linear",
                "displayName": "Linear"
            },
            {
                "value": "log",
                "displayName": "Log"
            }
        ],
        "axisType": [
            {
                "value": "Scalar",
                "displayName": "Continuous"
            },
            {
                "value": "Categorical",
                "displayName": "Categorical"
            }
        ],
        "axisStyle": [
            {
                "value": "showTitleOnly",
                "displayName": "Show title only"
            },
            {
                "value": "showUnitOnly",
                "displayName": "Show unit only"
            },
            {
                "value": "showBoth",
                "displayName": "Show both"
            }
        ],
        "gridlineStyle": [
            {
                "value": "dashed",
                "displayName": "Dashed"
            },
            {
                "value": "solid",
                "displayName": "Solid"
            },
            {
                "value": "dotted",
                "displayName": "Dotted"
            }
        ],
        "position": [
            {
                "value": "Left",
                "displayName": "Left"
            },
            {
                "value": "Right",
                "displayName": "Right"
            }
        ]
    },
    "valueAxis": {
        "position": [
            {
                "value": "Left",
                "displayName": "Left"
            },
            {
                "value": "Right",
                "displayName": "Right"
            }
        ],
        "axisScale": [
            {
                "value": "linear",
                "displayName": "Linear"
            },
            {
                "value": "log",
                "displayName": "Log"
            }
        ],
        "axisStyle": [
            {
                "value": "showTitleOnly",
                "displayName": "Show title only"
            },
            {
                "value": "showUnitOnly",
                "displayName": "Show unit only"
            },
            {
                "value": "showBoth",
                "displayName": "Show both"
            }
        ],
        "gridlineStyle": [
            {
                "value": "dashed",
                "displayName": "Dashed"
            },
            {
                "value": "solid",
                "displayName": "Solid"
            },
            {
                "value": "dotted",
                "displayName": "Dotted"
            }
        ],
        "secPosition": [
            {
                "value": "Left",
                "displayName": "Left"
            },
            {
                "value": "Right",
                "displayName": "Right"
            }
        ],
        "secAxisScale": [
            {
                "value": "linear",
                "displayName": "Linear"
            },
            {
                "value": "log",
                "displayName": "Log"
            }
        ],
        "secAxisStyle": [
            {
                "value": "showTitleOnly",
                "displayName": "Show title only"
            },
            {
                "value": "showUnitOnly",
                "displayName": "Show unit only"
            },
            {
                "value": "showBoth",
                "displayName": "Show both"
            }
        ]
    },
    "lineStyles": {
        "strokeLineJoin": [
            {
                "value": "miter",
                "displayName": "Miter"
            },
            {
                "value": "round",
                "displayName": "Round"
            },
            {
                "value": "bevel",
                "displayName": "Bevel"
            }
        ],
        "lineStyle": [
            {
                "value": "dashed",
                "displayName": "Dashed"
            },
            {
                "value": "solid",
                "displayName": "Solid"
            },
            {
                "value": "dotted",
                "displayName": "Dotted"
            }
        ],
        "markerShape": [
            {
                "value": "circle",
                "displayName": "●"
            },
            {
                "value": "square",
                "displayName": "■"
            },
            {
                "value": "diamond",
                "displayName": "◆"
            },
            {
                "value": "triangle",
                "displayName": "▲"
            },
            {
                "value": "x",
                "displayName": "☓"
            },
            {
                "value": "shortDash",
                "displayName": " -"
            },
            {
                "value": "longDash",
                "displayName": "—"
            },
            {
                "value": "plus",
                "displayName": "+"
            }
        ]
    },
    "trend": {
        "style": [
            {
                "value": "dashed",
                "displayName": "Dashed"
            },
            {
                "value": "solid",
                "displayName": "Solid"
            },
            {
                "value": "dotted",
                "displayName": "Dotted"
        }
    ]
},
"y1AxisReferenceLine": {
    "style": [
        {
            "value": "dashed",
            "displayName": "Dashed"
        },
        {
            "value": "solid",
            "displayName": "Solid"
        },
        {
            "value": "dotted",
            "displayName": "Dotted"
        }
    ],
    "position": [
        {
            "value": "back",
            "displayName": "Behind"
        },
        {
            "value": "front",
            "displayName": "In Front"
        }
    ],
    "dataLabelText": [
        {
            "value": "Value",
            "displayName": "Value"
        },
        {
            "value": "Name",
            "displayName": "Name"
        },
        {
            "value": "ValueAndName",
            "displayName": "Name and Value"
        }
    ],
    "dataLabelHorizontalPosition": [
        {
            "value": "left",
            "displayName": "Left"
        },
        {
            "value": "right",
            "displayName": "Right"
        }
    ],
    "dataLabelVerticalPosition": [
        {
            "value": "above",
            "displayName": "Above"
        },
        {
            "value": "under",
            "displayName": "Under"
        }
    ]
},
"referenceLine": {
    "style": [
        {
            "value": "dashed",
            "displayName": "Dashed"
        },
        {
            "value": "solid",
            "displayName": "Solid"
        },
        {
            "value": "dotted",
            "displayName": "Dotted"
        }
    ],
    "position": [
        {
            "value": "back",
            "displayName": "Behind"
        },
        {
            "value": "front",
            "displayName": "In Front"
        }
    ],
    "dataLabelText": [
  {
    "value": "Value",
    "displayName": "Value"
  },
  {
    "value": "Name",
    "displayName": "Name"
  },
  {
    "value": "ValueAndName",
    "displayName": "Name and Value"
  }
],
"dataLabelHorizontalPosition": [
  {
    "value": "left",
    "displayName": "Left"
  },
  {
    "value": "right",
    "displayName": "Right"
  }
],
"dataLabelVerticalPosition": [
  {
    "value": "above",
    "displayName": "Above"
  },
  {
    "value": "under",
    "displayName": "Under"
  }
]
},
"labels": {
"labelOrientation": [
  {
    "value": "vertical",
    "displayName": "Vertical"
  },
  {
    "value": "horizontal",
    "displayName": "Horizontal"
  }
],
"labelPosition": [
  {
    "value": "Auto",
    "displayName": "Auto"
  },
  {
    "value": "InsideEnd",
    "displayName": "Inside End"
  },
  {
    "value": "OutsideEnd",
    "displayName": "Outside End"
  },
  {
    "value": "InsideCenter",
    "displayName": "Inside Center"
  },
  {
    "value": "InsideBase",
    "displayName": "Inside Base"
  }
],
"labelStyle": [
  {
    "value": "Category",
    "displayName": "Category"
  },
  {
    "value": "Data",
    "displayName": "Data value"
  },
  {
    "value": "Percent of total",
    "displayName": "Percent of total"
  },
  {
    "value": "Both",
    "displayName": "Category, data value"
  },
  {
    "value": "Category, percent of total",
    "displayName": "Category, percent of total"
  },
  {
    "value": "Data value, percent of total",
    "displayName": "Data value, percent of total"
  },
  {
    "value": "Category, data value, percent of total",
    "displayName": "All detail labels"
  }
 ]
},
"card": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
     ]
},
"imageScaling": {
    "imageScalingType": [
      {
        "value": "Normal",
        "displayName": "Normal"
      },
      {
        "value": "Fit",
        "displayName": "Fit"
      },
      {
        "value": "Fill",
        "displayName": "Fill"
      }
    ]
},
"forecast": {
    "confidenceBandStyle": [
      {
        "value": "fill",
        "displayName": "Fill"
      },
      {
        "value": "line",
        "displayName": "Line"
      },
      {
        "value": "none",
        "displayName": "None"
      }
    ],
    "style": [
      {
        "value": "dashed",
        "displayName": "Dashed"
      },
      {
        "value": "solid",
        "displayName": "Solid"
      },
      {
        "value": "dotted",
        "displayName": "Dotted"
      }
    ]
    },
    "mapStyles": {
    "mapTheme": [
      {
        "value": "aerial",
        "displayName": "Aerial"
      },
      {
        "value": "canvasDark",
        "displayName": "Dark"
      },
      {
        "value": "canvasLight",
        "displayName": "Light"
      },
      {
        "value": "grayscale",
        "displayName": "Grayscale"
      },
      {
        "value": "road",
        "displayName": "Road"
      }
    ]
},
"shape": {
    "projectionEnum": [
      {
        "value": "albersUsa",
        "displayName": "Albers USA"
      },
      {
        "value": "equirectangular",
        "displayName": "Equirectangular"
      },
      {
        "value": "mercator",
        "displayName": "Mercator"
      },
      {
        "value": "orthographic",
        "displayName": "Orthographic"
      }
    ]
    },
    "xAxisReferenceLine": {
    "style": [
      {
        "value": "dashed",
        "displayName": "Dashed"
      },
      {
        "value": "solid",
        "displayName": "Solid"
      },
      {
        "value": "dotted",
        "displayName": "Dotted"
      }
    ],
    "position": [
      {
        "value": "back",
        "displayName": "Behind"
      },
      {
        "value": "front",
        "displayName": "In Front"
      }
    ],
    "dataLabelText": [
      {
        "value": "Value",
        "displayName": "Value"
      },
      {
        "value": "Name",
        "displayName": "Name"
      },
      {
        "value": "ValueAndName",
        "displayName": "Name and Value"
      }
    ],
    "dataLabelHorizontalPosition": [
      {
        "value": "left",
        "displayName": "Left"
      },
      {
        "value": "right",
        "displayName": "Right"
      }
    ],
    "dataLabelVerticalPosition": [
      {
        "value": "above",
        "displayName": "Above"
      },
      {
        "value": "under",
        "displayName": "Under"
      }
    ]
    },
    "ratioLine": {
    "style": [
      {
        "value": "dashed",
        "displayName": "Dashed"
      },
      {
        "value": "solid",
        "displayName": "Solid"
      },
      {
        "value": "dotted",
        "displayName": "Dotted"
      }
    ]
    },
    "columnHeaders": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
    ]
    },
    "values": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
    ]
    },
    "total": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
    ]
    },
    "rowHeaders": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
    ]
    },
    "subTotals": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
    ],
    "rowSubtotalsPosition": [
      {
        "value": "Top",
        "displayName": "Top"
      },
      {
        "value": "Bottom",
        "displayName": "Bottom"
      }
    ]
    },
    "general": {
    "orientation": [
      {
        "value": "vertical",
        "displayName": "Vertical"
      },
      {
        "value": "horizontal",
        "displayName": "Horizontal"
      }
    ]
    },
    "data": {
    "relativeRange": [
      {
        "value": "Last",
        "displayName": "Last"
      },
      {
        "value": "Next",
        "displayName": "Next"
      },
      {
        "value": "This",
        "displayName": "This"
      }
    ],
    "relativePeriod": [
      {
        "value": "None",
        "displayName": "Select"
      },
      {
        "value": "Days",
        "displayName": "Days"
      },
      {
        "value": "Weeks",
        "displayName": "Weeks"
      },
      {
        "value": "Calendar Weeks",
        "displayName": "Weeks (Calendar)"
      },
      {
        "value": "Months",
        "displayName": "Months"
      },
      {
        "value": "Calendar Months",
        "displayName": "Months (Calendar)"
      },
      {
        "value": "Years",
        "displayName": "Years"
      },
      {
        "value": "Calendar Years",
        "displayName": "Years (Calendar)"
      }
    ],
    "mode": [
      {
        "value": "Between",
        "displayName": "Between"
      },
      {
        "value": "Before",
        "displayName": "Before"
      },
      {
        "value": "After",
        "displayName": "After"
      },
      {
        "value": "Basic",
        "displayName": "List"
      },
      {
        "value": "Dropdown",
        "displayName": "Dropdown"
      },
      {
        "value": "Relative",
        "displayName": "Relative"
      },
      {
        "value": "Single",
        "displayName": "Single Value"
      }
    ]
    },
    "header": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
    ]
    },
    "items": {
    "outline": [
      {
        "value": "None",
        "displayName": "None"
      },
      {
        "value": "BottomOnly",
        "displayName": "Bottom only"
      },
      {
        "value": "TopOnly",
        "displayName": "Top only"
      },
      {
        "value": "LeftOnly",
        "displayName": "Left only"
      },
      {
        "value": "RightOnly",
        "displayName": "Right only"
      },
      {
        "value": "TopBottom",
        "displayName": "Top + bottom"
      },
      {
        "value": "LeftRight",
        "displayName": "Left + right"
      },
      {
        "value": "Frame",
        "displayName": "Frame"
      }
    ]
    },
    "status": {
    "direction": [
      {
        "value": "Positive",
        "displayName": "High is good"
      },
      {
        "value": "Negative",
        "displayName": "Low is good"
      }
     ]
   }
}