Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion histogramchart/schemas/histogram.cue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ kind: "HistogramChart"
spec: close({
format?: common.#format
min?: number
max?: number & >= min
max?: number
if min != _|_ && max != _|_ {
max: >= min
}
thresholds?: common.#thresholds
logBase?: 2 | 10
})
6 changes: 6 additions & 0 deletions histogramchart/schemas/tests/valid/histogram_only_max.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"kind": "HistogramChart",
"spec": {
"max": 10
}
}