highcharts / highcharts-ios

iOS wrapper for Highcharts.
Other
127 stars 39 forks source link

Xaxis labels event do not work #321

Closed intelligentsiatech closed 4 years ago

intelligentsiatech commented 4 years ago

I am having a problem with events on xaxis labels. For example, if we have column chart, I want event click on "column bars" and click on "xaxis". Kindly provide information regarding this issue ASAP.

Regards.

ihnatmoisieiev commented 4 years ago

Hello @intelligentsiatech,

please describe what do you mean about

click on "xaxis"

You can use column.point.events.click to get a click event. Please check an example at HIFunction example chapter from the README.

intelligentsiatech commented 4 years ago

By click on xAxis, it means "xAxis.events.click". When we use column.point.events.click, it works fine by clicking on points. But xAxis.events.click does not work at all. When we click on xAxis on chart, the click does not trigger. Kindly provide any solution if any.

If you need any further information regarding this, do let me know.

pawelfus commented 4 years ago

There's no such event in the Highcharts core. See related request in Highcharts repo: https://github.com/highcharts/highcharts/issues/13745 - you can vote for that feature bu adding thumbs-up reaction (👍 ) in https://github.com/highcharts/highcharts/issues/13745