Skip to content

[CategoryAxis] Unknown category issue #435

Answered by RalphSteinhagen
alzorin asked this question in Q&A
Discussion options

You must be logged in to vote

@alzorin this is very similar to your second question here.

The 'unknown category' is the designed behaviour and default label defined in the CategoryAxis
https://github.com/GSI-CS-CO/chart-fx/blob/f72b16aa85f7c50ed17aab3b5c1650a2ffbbcca9/chartfx-chart/src/main/java/de/gsi/chart/axes/spi/CategoryAxis.java#L145-L152
which is triggered if you zoom or set a range outside the defined categories. The rationale behind this is to clearly mark the valid range and to provide an overflow bin for values that do not fit any other category.

You may change this via limiting the range to something that is just smaller/larger than your defined range, provide extra user-defined (e.g. "") categories (works…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alzorin
Comment options

Answer selected by alzorin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #433 on June 23, 2021 05:20.