Package | Description |
---|---|
com.github.gwtd3.api | |
com.github.gwtd3.api.scales |
Modifier and Type | Method and Description |
---|---|
OrdinalScale |
Scales.category10()
Constructs a new ordinal scale with a range of ten categorical colors:
#1f77b4 #ff7f0e #2ca02c #d62728 #9467bd #8c564b #e377c2 #7f7f7f #bcbd22 #17becf.
|
OrdinalScale |
Scales.category20()
Constructs a new ordinal scale with a range of twenty categorical colors:
#1f77b4 #aec7e8 #ff7f0e #ffbb78 #2ca02c #98df8a #d62728 #ff9896 #9467bd #c5b0d5 #8c564b #c49c94 #e377c2 #f7b6d2 #7f7f7f #c7c7c7 #bcbd22 #dbdb8d #17becf #9edae5.
|
OrdinalScale |
Scales.category20b()
Constructs a new ordinal scale with a range of twenty categorical colors:
#393b79 #5254a3 #6b6ecf #9c9ede #637939 #8ca252 #b5cf6b #cedb9c #8c6d31 #bd9e39 #e7ba52 #e7cb94 #843c39 #ad494a #d6616b #e7969c #7b4173 #a55194 #ce6dbd #de9ed6.
|
OrdinalScale |
Scales.category20c()
Constructs a new ordinal scale with a range of twenty categorical colors:
#3182bd #6baed6 #9ecae1 #c6dbef #e6550d #fd8d3c #fdae6b #fdd0a2 #31a354 #74c476 #a1d99b #c7e9c0 #756bb1 #9e9ac8 #bcbddc #dadaeb #636363 #969696 #bdbdbd #d9d9d9.
|
OrdinalScale |
Scales.ordinal()
Constructs a new ordinal scale with an empty domain and an empty range.
|
Modifier and Type | Method and Description |
---|---|
OrdinalScale |
OrdinalScale.rangeBands(double start,
double end)
See
rangeBands(double, double, double, double) with a padding of
0. |
OrdinalScale |
OrdinalScale.rangeBands(double start,
double end,
double padding)
See
rangeBands(double, double, double, double) with a
outerPadding of 0. |
OrdinalScale |
OrdinalScale.rangeBands(double start,
double end,
double padding,
double outerPadding)
Sets the output range from the continuous interval specified by its start
and end bounds, representing the minimum and maximum numeric value.
|
OrdinalScale |
OrdinalScale.rangePoints(double start,
double end)
Shortcut to
rangePoints(double, double, double) with a default
padding of 0. |
OrdinalScale |
OrdinalScale.rangePoints(double start,
double end,
double padding)
Sets the output range from the continuous interval specified by its start
and end bounds, representing the minimum and maximum numeric value.
|
OrdinalScale |
OrdinalScale.rangeRoundBands(double start,
double end)
Like
rangeBands(double, double, double, double) , except
guarantees that the band width and offset are integer values, so as to
avoid antialiasing artifacts. |
OrdinalScale |
OrdinalScale.rangeRoundBands(double start,
double end,
double padding)
Like
rangeBands(double, double, double) , except guarantees that
the band width and offset are integer values, so as to avoid antialiasing
artifacts. |
OrdinalScale |
OrdinalScale.rangeRoundBands(double start,
double end,
double padding,
double outerPadding)
Like
rangeBands(double, double, double,double) , except
guarantees that the band width and offset are integer values, so as to
avoid antialiasing artifacts. |
OrdinalScale |
OrdinalScale.rangeRoundBands(com.google.gwt.core.client.JavaScriptObject interval)
|
OrdinalScale |
OrdinalScale.rangeRoundBands(com.google.gwt.core.client.JavaScriptObject interval,
double padding)
|
OrdinalScale |
OrdinalScale.rangeRoundBands(com.google.gwt.core.client.JavaScriptObject interval,
double padding,
double outerPadding)
|
OrdinalScale |
OrdinalScale.rangeRoundPoints(double start,
double end)
Shortcut to
rangeRoundPoints(double, double, double) with a default
padding of 0. |
OrdinalScale |
OrdinalScale.rangeRoundPoints(double start,
double end,
double padding)
Like
rangePoints(double, double, double) , except guarantees that the range values are integers so as to
avoid antialiasing artifacts. |
Copyright © 2015 gwt-d3. All rights reserved.