Skip to Content
0

Interactive FUIChartView - FUIChartViewDelegate

Mar 05 at 02:54 PM

26

avatar image

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

chartView.select(category: 1)

I tried this but without any success

chartView.isUserInteractionEnabled = true

I am using the FUIChartFloorplanTableViewCell

thanks

alex

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Florian Pfeffer
Mar 06 at 06:24 AM
1

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,
Florian

Show 1 Share
10 |10000 characters needed characters left 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

Alex

1