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

Map > heatLegend > Three colors to represent several range values #3803

Closed
abelardovn opened this issue Sep 30, 2021 · 3 comments
Closed

Map > heatLegend > Three colors to represent several range values #3803

abelardovn opened this issue Sep 30, 2021 · 3 comments

Comments

@abelardovn
Copy link

I have seen at doc this entry:
image
to assign a color to a value.

For example, I would like to show this heat legend:
image

My data vary between 1.25 and -1.25. Each country has a value and a color according to that value.

For example, for Spain I have this value and this color:
image

And the heat legend object, I set its "configField" property to "config", which is the name of the field in each data...but it doesn't work.
image

Is it a bug or I am doing something wrong?

Could you help me with this issue, please?

Best regards.

@martynasma
Copy link
Collaborator

There's no way to have a HeatLegend with custom multiple color values.

The only way is to have a normal Legend with custom values:
https://www.amcharts.com/docs/v4/concepts/legend/#Adding_custom_items

@abelardolg
Copy link

I think I can't close this issue. I don't the "close issue" option. Best regards.

@github-actions
Copy link

github-actions bot commented Nov 1, 2021

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale label Nov 1, 2021
@github-actions github-actions bot closed this as completed Nov 7, 2021
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

3 participants