PostHog · Schema
ChartSettings
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| goalLines | array | |
| heatmap | object | |
| leftYAxisSettings | object | |
| rightYAxisSettings | object | |
| seriesBreakdownColumn | string | |
| showLegend | boolean | |
| showNullsAsZero | boolean | |
| showPieTotal | boolean | |
| showTotalRow | boolean | |
| showValuesOnSeries | boolean | |
| showXAxisBorder | boolean | |
| showXAxisTicks | boolean | |
| showYAxisBorder | boolean | |
| stackBars100 | boolean | Whether we fill the bars to 100% in stacked mode |
| xAxis | object | |
| yAxis | array | |
| yAxisAtZero | boolean | Deprecated: use `[left|right]YAxisSettings`. Whether the Y axis should start at zero |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ChartSettings",
"title": "ChartSettings",
"additionalProperties": false,
"properties": {
"goalLines": {
"default": null,
"title": "Goallines",
"items": {
"$ref": "#/components/schemas/GoalLine"
},
"type": "array",
"nullable": true
},
"heatmap": {
"default": null,
"allOf": [
{
"$ref": "#/components/schemas/HeatmapSettings"
}
],
"nullable": true
},
"leftYAxisSettings": {
"default": null,
"allOf": [
{
"$ref": "#/components/schemas/YAxisSettings"
}
],
"nullable": true
},
"rightYAxisSettings": {
"default": null,
"allOf": [
{
"$ref": "#/components/schemas/YAxisSettings"
}
],
"nullable": true
},
"seriesBreakdownColumn": {
"default": null,
"title": "Seriesbreakdowncolumn",
"type": "string",
"nullable": true
},
"showLegend": {
"default": null,
"title": "Showlegend",
"type": "boolean",
"nullable": true
},
"showNullsAsZero": {
"default": null,
"title": "Shownullsaszero",
"type": "boolean",
"nullable": true
},
"showPieTotal": {
"default": null,
"title": "Showpietotal",
"type": "boolean",
"nullable": true
},
"showTotalRow": {
"default": null,
"title": "Showtotalrow",
"type": "boolean",
"nullable": true
},
"showValuesOnSeries": {
"default": null,
"title": "Showvaluesonseries",
"type": "boolean",
"nullable": true
},
"showXAxisBorder": {
"default": null,
"title": "Showxaxisborder",
"type": "boolean",
"nullable": true
},
"showXAxisTicks": {
"default": null,
"title": "Showxaxisticks",
"type": "boolean",
"nullable": true
},
"showYAxisBorder": {
"default": null,
"title": "Showyaxisborder",
"type": "boolean",
"nullable": true
},
"stackBars100": {
"default": null,
"description": "Whether we fill the bars to 100% in stacked mode",
"title": "Stackbars100",
"type": "boolean",
"nullable": true
},
"xAxis": {
"default": null,
"allOf": [
{
"$ref": "#/components/schemas/ChartAxis"
}
],
"nullable": true
},
"yAxis": {
"default": null,
"title": "Yaxis",
"items": {
"$ref": "#/components/schemas/ChartAxis"
},
"type": "array",
"nullable": true
},
"yAxisAtZero": {
"default": null,
"description": "Deprecated: use `[left|right]YAxisSettings`. Whether the Y axis should start at zero",
"title": "Yaxisatzero",
"type": "boolean",
"nullable": true
}
},
"type": "object"
}