Package org.primefaces.util
Class ChartUtils
java.lang.Object
org.primefaces.util.ChartUtils
Deprecated, for removal: This API element is subject to removal in a future version.
use new p:chart component
Utilities for Chart components that use chartJs
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteDataValue(Writer fsw, String optionName, Object value, boolean hasComma) Deprecated, for removal: This API element is subject to removal in a future version.Write the value of chartJs options
-
Method Details
-
writeDataValue
public static void writeDataValue(Writer fsw, String optionName, Object value, boolean hasComma) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.Write the value of chartJs options- Parameters:
fsw- a writer object that use to write the value of an optionoptionName- the name of an optionvalue- the value of an optionhasComma- specifies whether to add a comma at the beginning of the option name- Throws:
IOException- if writer named fsw is null
-