Uses of Record Class
com.storedobject.svg.chart.Values.Value
Packages that use Values.Value
-
Uses of Values.Value in com.storedobject.svg.chart
Methods in com.storedobject.svg.chart that return Values.ValueMethods in com.storedobject.svg.chart that return types with arguments of type Values.ValueModifier and TypeMethodDescriptionValues.list()Get the list of values.Values.stream()Get a stream of values.Methods in com.storedobject.svg.chart with parameters of type Values.ValueModifier and TypeMethodDescriptionvoidValues.add(Values.Value value) Add aValues.Valueto the collection.voidChart.addValue(Values.Value value) Add a data value.Values.getColor(Values.Value value) Get the color for a givenValues.Value.Values.getLabel(Values.Value value) Get the formatted label for a givenValues.Value.doubleValues.getPercentage(Values.Value value) Get the percentage of a givenValues.Valuerelative to the total.Values.getPercentageString(Values.Value value) Get the percentage string for a givenValues.Value.Values.getValue(Values.Value value) Get the formatted value for a givenValues.Value.voidValues.remove(Values.Value value) Remove aValues.Valuefrom the collection.Values.toUnit(Values.Value v) Format aValues.Valuewith its unit.Values.toUnit(Values.Value v, int decimals) Format aValues.Valuewith its unit and specified decimals.Method parameters in com.storedobject.svg.chart with type arguments of type Values.ValueModifier and TypeMethodDescriptionvoidValues.setLabelFunction(Function<Values.Value, String> labelFunction) Set the function to generate labels forValues.Valueobjects.voidValues.setValueFunction(Function<Values.Value, String> valueFunction) Set the function to generate formatted value strings forValues.Valueobjects.