Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HeatSeries define max and min value for the Tertiary Value #1337

Closed
WIPDarioDT opened this issue Oct 30, 2023 · 1 comment
Closed

HeatSeries define max and min value for the Tertiary Value #1337

WIPDarioDT opened this issue Oct 30, 2023 · 1 comment
Milestone

Comments

@WIPDarioDT
Copy link

I am working with a HeatSeries and everything works perfectly but I miss one thing:
It is possible to define an absolute minimum and maximum for the tertiary values of my HeatSeries?

For example, I would like to define a minimum value of 0 and a maximum value of 100, to represent percentages in each box, and that the colour map together with the gradient stops that I have defined behave in relation to these limits.

Thanks in advance

@beto-rodriguez
Copy link
Owner

beto-rodriguez commented Oct 22, 2024

This feature will be included in the next version of the library.

Now we can set the MinValue and MaxValue properties in the HeatSerioes class.

new HeatSeries<WeightedPoint>
{
    MinValue = 0,
    MaxValue = 1000
}

From docs:

Gets or sets the maximum value in the weight axis,
this value will be used to calculate the color of the point.
Default is null and means the maximum value in the series.

Thanks for the report!

@beto-rodriguez beto-rodriguez added this to the rc-4 milestone Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants