highcharts / highcharts-ios

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

Customization of data labels for the funnel chart does not work on iOS using SWIFT #293

Closed oleh-hastov closed 4 years ago

oleh-hastov commented 4 years ago

Expected behavior: I want to customize data labels in iOS using SWIFT (as it's customizable in web java script); And It would be appreciated to get some iOS SWIFT code snippet examples of how to customize them; (we need to change the font style of data labels and align them to the left in widget comparing to the chart)

Screenshot at Mar 26 12-33-27

Actual behavior: Customization of data labels for the funnel chart does not work on iOS using SWIFT;

Screenshot at Mar 26 12-23-07

Product version iOS SDK is integrated using Carthage: github "https://github.com/highcharts/highcharts-ios" == 8.0.0

ihnatmoisieiev commented 4 years ago

Hello @gasta-java,

please share your data labels config (JS) which you want to implement in iOS.

oleh-hastov commented 4 years ago

Hi @ihnatmoisieiev, Thank you for your answer. So here is the JS example which we can't achieve in iOS SWIFT app:

https://jsfiddle.net/1qeLdz3w/8/

and particularly this part related to data labels style:

plotOptions: {
    series: {
      dataLabels: {
        enabled: true,
        softConnector: true,
        position: 'left',
        style: {
                    fontWeight: 'regular',
                    color: 'red',
                    fontSize: 15,
                    fontFamily: 'serif'
                }
      },
      center: ['40%', '50%'],
      neckWidth: '30%',
      neckHeight: '25%',
      width: '80%'
    }
  },
ihnatmoisieiev commented 4 years ago

Hello @gasta-java,

I've checked this demo and it's a bug that will be fixed in the next release.

Thank you for reporting!

oleh-hastov commented 4 years ago

Hi @ihnatmoisieiev ! I am glad to hear that you're going to fix this. So we will be waiting for the new release with the fix :-) Thank you!

ihnatmoisieiev commented 4 years ago

@gasta-java the issue has been fixed in the latest release. Can I close it?

oleh-hastov commented 4 years ago

@ihnatmoisieiev thank you! Yes, it could be closed