public interface CategoryAxis extends Labeled
CategoryChart.| Modifier and Type | Method and Description |
|---|---|
void |
clearManualCategories()
Clear the manually set list of categories.
|
void |
clearOrder() |
List<Object> |
getManualCategories() |
Comparator<?> |
getOrder() |
boolean |
hasManualCategories() |
boolean |
hasOrder() |
void |
setManualCategories(List<?> categories)
Manually set the list of categories to be displayed in a
CategoryChart. |
<T> void |
setOrder(Comparator<T> comparator)
Specify the order used to display the categories in a
CategoryChart. |
void setManualCategories(List<?> categories)
CategoryChart.
The categories are displayed as ordered in the list, unless otherwise specified by calling the setOrder method.void clearManualCategories()
boolean hasManualCategories()
<T> void setOrder(Comparator<T> comparator)
CategoryChart.void clearOrder()
boolean hasOrder()
Comparator<?> getOrder()
Copyright © 2017–2022 SciJava. All rights reserved.