Skip to content

[BUGFIX]: allow max without min value for HistogramChart#563

Open
ibakshay wants to merge 1 commit intomainfrom
ibakshay/histogram-bugfix
Open

[BUGFIX]: allow max without min value for HistogramChart#563
ibakshay wants to merge 1 commit intomainfrom
ibakshay/histogram-bugfix

Conversation

@ibakshay
Copy link
Contributor

@ibakshay ibakshay commented Feb 8, 2026

Description:

Fix CUE validation error when specifying only max without min in HistogramChart panel spec.

Problem

Setting only max value caused cue validation failure:

spec.max: cannot reference optional field: min

Solution

Use conditional constraint to validate max >= min only when both fields are present.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant