SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.96k stars 1.24k forks source link

Donut Chart selectionChanged does not work and rendering issues #1937

Closed Myge91 closed 5 years ago

Myge91 commented 6 years ago

Hello,

when I set the parameter displayedSegments greather than 3 the selectionChanged is not triggered. You can see this on the Donut in the content area of my example.

Also when I have the Donut Chart inside a DynamicPageHeader the event selectionChanged is not fired regardless the parameter displayedSegments is set or not. This happens in Chrome and Firefox.

When you open my example in Microsoft Edge the rendering result is not as expected:

image

When you open my example in Internet Explorer the result is this:

image

The rendering results in Chrome and Firefox are ok.

Here is my example:

https://plnkr.co/edit/6Grjb1QnP50dicjV8MZ5?p=preview

gerym commented 6 years ago

Hello @Myge91 ,

Thank you for sharing this finding. I've created an internal incident 1870101537. The status of the issue will be updated here in GitHub.

Regards, Gery

Darius998 commented 5 years ago

Hello, I just experienced the same Issue as described in this Ticket. It seems the InteractiveMode of the Donut gets set to false if there is more than 3 segments shown. Could I get an update on the state of this issue?

Regards, Darius

stephania87 commented 5 years ago

Let me note that the chart is not part of OpenUi5, but SAPUI5. You should use a regular incident to report such issues.

In regards to the issue, it will be validated via #1870521627

janstacha commented 5 years ago

Unfortunately, this is a fact of life. The disabling is intentional and happens whenever the legend line would get smaller than 2rems that is the minimum size for touch zone. Despite this control being standalone it is in fact tied up with Smart Elements template (Analytical List Page). (see "Don't" section here https://ux.wdf.sap.corp/fiori-design-web/interactive-donut-chart/). I discussed with responsible SAP Design colleagues whether they would mind if we change this behavior and the response was negative. I am sorry about this outcome.