Java Code Examples for lecho.lib.hellocharts.util.ChartUtils#darkenColor()
The following examples show how to use
lecho.lib.hellocharts.util.ChartUtils#darkenColor() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Line.java From hellocharts-android with Apache License 2.0 | 5 votes |
public Line setColor(int color) { this.color = color; if (pointColor == UNINITIALIZED) { this.darkenColor = ChartUtils.darkenColor(color); } return this; }
Example 2
Source File: Line.java From hellocharts-android with Apache License 2.0 | 5 votes |
public Line setPointColor(int pointColor) { this.pointColor = pointColor; if (pointColor == UNINITIALIZED) { this.darkenColor = ChartUtils.darkenColor(color); } else { this.darkenColor = ChartUtils.darkenColor(pointColor); } return this; }
Example 3
Source File: SliceValue.java From hellocharts-android with Apache License 2.0 | 4 votes |
public SliceValue setColor(int color) { this.color = color; this.darkenColor = ChartUtils.darkenColor(color); return this; }
Example 4
Source File: BubbleValue.java From hellocharts-android with Apache License 2.0 | 4 votes |
public BubbleValue setColor(int color) { this.color = color; this.darkenColor = ChartUtils.darkenColor(color); return this; }
Example 5
Source File: SubcolumnValue.java From hellocharts-android with Apache License 2.0 | 4 votes |
public SubcolumnValue setColor(int color) { this.color = color; this.darkenColor = ChartUtils.darkenColor(color); return this; }