ColorfulChartView Class
The base class for chart views that can display data points in different colors.
Declaration
public abstract class ColorfulChartView extends ChartViewWithDataLabels
Remarks
Call the setVaryColors(boolean value) method of a descendant class (for example, DoughnutChartView or BarChartView) to color each data point differently.
Refer to the following help topic for additional information: Create Standard Charts — Presentation API for Java.
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
JavaObject
OfficeObject
ChartViewBase
ChartViewWithDataLabels
ColorfulChartView
ColorfulChartView()
Initializes a new instance of the ColorfulChartView class.
Declaration
public ColorfulChartView()
Methods
getVaryColors() Method
Returns whether data points in the view use different colors.
Declaration
public boolean getVaryColors()
Returns
| Type | Description |
|---|---|
| boolean |
|
setVaryColors(boolean value) Method
Sets whether data points in the view use different colors.
Declaration
public void setVaryColors(boolean value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | boolean |
|
Remarks
If you do not call the setVaryColors(value) method, the API uses false for a new chart view.