ChoroplethColorizer.ApproximateColors Property
Gets or sets a value specifying whether to apply an approximation algorithm to colors in a colorizer.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true, if an approximation algorithm is applied to colors; otherwise, false. |
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-configure-a-range-distribution-of-choroplethcolorizer-t142434
private void cbApproximateColors_CheckedChanged(object sender, EventArgs e) {
Colorizer.ApproximateColors = cbApproximateColors.Checked;
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApproximateColors property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.