ChartTime
ChartTime manifests describe time-based charts.
They share many fields with ChartStructure but add date-axis-specific options.
Spec outline
Section titled “Spec outline”apiVersion: rainbow.bino.bi/v1alpha1
kind: ChartTime
metadata:
name: revenue_time_chart
spec:
dataset: revenue_daily
chartTitle: "Daily revenue"
axisLabelsMode: smart # smart | long | short
dateInterval: auto # year | quarter | month | week | day | hour | minute | second | millisecond | auto
filter: "region_group = 'EMEA'"
level: category
order: category
orderDirection: asc
measureScale: M
measureUnit: "EUR"
type: line # bar | line | area
internationalisation: "_system"
internationalisationMode: "default"
componentStatus: "ok"
translation: "chart.revenue.time"
hideAxisLabels: false
showCategories: true
showMeasureScale: true
showOverlayAvg: true
showOverlayMedian: false
limit: 0
intervalSpanLimit: 50
percentageScaling: "default"
unitScaling: "default"
syncSpaceLeft: 0
pixelPerPercentage: 2
pixelPerUnit: 0.1
leftSideOffsetForHorizontalSync: 0
scenarios: ["ac1", "fc1"]
variances: ["dfc1_ac1_pos"]Fields
Section titled “Fields”dataset– required dataset name or array.chartTitle– optional title.axisLabelsMode–smart(context-aware labels),long, orshort.dateInterval– desired time granularity;autolets the renderer choose.filter,level,order,orderDirection,measureScale,measureUnit– similar semantics toChartStructure.type– chart type:bar,line, orarea.hideAxisLabels,showCategories,showMeasureScale– visibility flags.showOverlayAvg,showOverlayMedian– enables overlay lines.limit– column stack limit; 0 means unlimited.intervalSpanLimit– controls how many columns drive automatic date interval selection.percentageScaling,unitScaling,pixelPerPercentage,pixelPerUnit,syncSpaceLeft,leftSideOffsetForHorizontalSync– scaling and sync options.scenariosandvariances– configured as forChartStructure.
Example: Monthly revenue line chart
Section titled “Example: Monthly revenue line chart”---
apiVersion: rainbow.bino.bi/v1alpha1
kind: ChartTime
metadata:
name: revenue_monthly_chart
spec:
dataset: revenue_monthly
chartTitle: "Monthly revenue"
axisLabelsMode: smart
dateInterval: month
level: category
order: category
orderDirection: asc
measureScale: M
measureUnit: "EUR"
type: line
showMeasureScale: true
showOverlayAvg: true
scenarios: ["ac1"]Use a placeholder image when documenting expected output:
