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
linkColorMode: 'gradient' at sankey diagram does not work #21115
Comments
Hi @dmartinezzm Please recreate the issue in this demo: https://jsfiddle.net/BlackLabel/tgvar8j2/ |
Hi, @bm64 |
Hi @dmartinezzm I have recreated this demo in Angular environment and everything seems to work correctly. See the demo |
Hi again @bm64, replicating it like this, I still get the same error, the gradient is not applied, could it be a matter of using Angular 16, since your example is in Angular 15? |
Hi @dmartinezzm I don't think the issue is related to angular version, most likely it is caused by a chart misconfiguration on your side. Here is an example with Angular 16 and everything seems to work correctly. |
Hi @bm64 |
@dmartinezzm perhaps you could create a github repo with the issue? I could take a look at the problem directly. Another possibility is that you might have imported highcharts css somewhere which can mess up with the gradient config in sankey: https://jsfiddle.net/BlackLabel/cx26gp7r/ |
Expected behaviour
diagram lines with color gradient from source to destination
Actual behaviour
Diagram lines like default 'from' value
series: [{
keys: ['from', 'to', 'weight'],
data: [],
type: 'sankey',
linkColorMode: 'gradient',
}]
Product version
"highcharts": "^11.4.1",
"highcharts-angular": "^4.0.0",
Affected browser(s)
At least, Chrome
The text was updated successfully, but these errors were encountered: