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

Dependency wheel in polar chart mode draws only half of the chart #20850

Open
ollivihervuori opened this issue Mar 13, 2024 · 3 comments
Open

Comments

@ollivihervuori
Copy link

ollivihervuori commented Mar 13, 2024

Chart settings where the issue replicates:

Highcharts.chart('container',{
	"chart": {
		"type": "dependencywheel",
		"polar": true
	},
	"series": [
		{
			"data": [
				{
					"from": "A",
					"to": "B",
					"weight": 1
				}
			]
		}
	]
});

Expected behaviour

I'm not sure how the dependency wheel in polar chart mode could be drawn, but the way how it's currently drawn seems illogical.

Actual behaviour

Only half of the chart is shown:
image

Live demo with steps to reproduce

https://jsfiddle.net/wuLnrgv5/

Product version

v11.4.0

Affected browser(s)

At least Chrome, but issue is likely not browser related.

@karolkolodziej
Copy link
Contributor

Hi @ollivihervuori!

I agree it looks strange, but I do not know how the dependency wheel could work with a polar chart.
Do you have any use case and idea of how it might work?

@ollivihervuori
Copy link
Author

Yeah, the dependency wheel is already a polar kind of chart, so perhaps it cannot be converted into polar coordinates in a meaningful way. I believe the pie chart just ignores the polar checkbox, so perhaps the dependency wheel could work similarly.

We have a software allowing users to set the chart type and whether it's a polar chart, so our users ended up seeing this strange dependency wheel. We will solve the issue by disabling the polar for the dependency wheel, so this is not a critical issue for us.

@karolkolodziej
Copy link
Contributor

Thank you @ollivihervuori for the explanation!

I agree that the dependency wheel is already a polar kind of chart 😉
Let's ignore the polar property for this series.

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