GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — maui-charts/CS/CustomValueRangeColorizer at 24.2.3+ · DevExpress-Examples/maui-charts

Expand file tree

/

CustomValueRangeColorizer

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

CustomValueRangeColorizer

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Platforms
Platforms
 
 
Resources
Resources
 
 
img
img
 
 
App.xaml
App.xaml
 
 
App.xaml.cs
App.xaml.cs
 
 
AppShell.xaml
AppShell.xaml
 
 
AppShell.xaml.cs
AppShell.xaml.cs
 
 
CustomValueRangeColorizer.csproj
CustomValueRangeColorizer.csproj
 
 
CustomValueRangeColorizer.sln
CustomValueRangeColorizer.sln
 
 
MainPage.xaml
MainPage.xaml
 
 
MainPage.xaml.cs
MainPage.xaml.cs
 
 
MauiProgram.cs
MauiProgram.cs
 
 
Readme.md
Readme.md
 
 
ViewModel.cs
ViewModel.cs
 
 

Readme.md

Outline

Paint Bubbles Based on Data Source Field Value Ranges

In this example, the bubble chart displays GDP values for the G20. A point's size indicates the country population and the color indicates the HPI.

DevExpress Chart for MAUI - Bubbles are colored by underlying values

In this example, each data source item that is used to create a bubble contains four values:

  • Country - Stores data for bubble arguments shown on the x-axis.
  • Gdp - Stores data for bubble values shown on the y-axis.
  • Population - Stores data for bubble weight values that define the bubble size.
  • Hpi - Stores values that a colorizer uses to determine the bubble color.

To paint bubbles according to the ranges of underlying values, assign a CustomValueBandPointColorizer to a BubbleSeries' PointColorizer property.

The colorizer's ValueProvider returns HPI values that are used to determine point colors.

Files to Review

  • MainPage.xaml
  • ViewModel.cs

Documentation

  • ChartView
  • CustomValueBandPointColorizer
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.