Skip to Content

Interactive FUIChartView - FUIChartViewDelegate

How do we made the FUIChartView interactive ? I want to be able to touch a specific category.

I have implemented the delegate FUIChartViewDelegate and it's never called,

I can see that we can pre-select a category with this API and it works 1)

I tried this but without any success

chartView.isUserInteractionEnabled = true

I am using the FUIChartFloorplanTableViewCell



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 06, 2018 at 06:24 AM

    Here the same. The delegate function chartView(FUIChartView, selections: [FUIChartPlotItem]?) is not called when using a FUIChartFloorplanTableViewCell. But it is called when e.g. using a FUIChartFloorplanViewConroller.

    But as mentioned in the Fiori for iOS Design Guidelines (here), "The chart content table view cell does not support interactions at this time (for example, selecting values, filtering data, toggling between chart and table views, and so on) whereas the chart floorplan offers interaction.", it seems to be no bug (at least at the moment).

    Bug again as you have mentioned in other threads (and myself also), it is not good to have to search on two different places to get that information. I would expect such limitations also in the iOS SDK documentation.

    Best Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • thanks Florian, yeah agree with you this should have been mention in the official documentation of the SDK vs the Fiori Design Guidelines,

      I'll test the VC floorpan instead