Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ICustomColorizerNumericValueProvider Interface

Interface that should be implemented by value providers for custom colorizers.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public interface ICustomColorizerNumericValueProvider

The following members return ICustomColorizerNumericValueProvider objects:

#Remarks

The following example implements a custom colorizer:

View Example

public class HpiIndexCustomColorizerAdapter : ICustomColorizerNumericValueProvider {
    readonly CountriesStatisticData data = new CountriesStatisticData();

    public List<CountryStatistic> SeriesData => this.data.SeriesData;

    public double GetValueForColorizer(int index) {
        return this.data.SeriesData[index].Hpi;
    }
}
See Also