microsoft / charticulator

Interactive Layout-Aware Construction of Bespoke Charts
Other
833 stars 115 forks source link

Vertical scrolling - down arrow is not located at the bottom #1001

Open triCNguyen5 opened 2 years ago

triCNguyen5 commented 2 years ago

Describe the bug When "scrolling" is enabled for a horizontal bar chart, the down arrow (chevron) is not located at the bottom of the scroll bar. App version: 1.5.0 (Power BI custom visual)

image

To Reproduce Steps to reproduce the behavior: See above screenshot

Expected behavior Down arrow (chevron) should be located at the bottom.

Screenshots Screenshot above

mshparber commented 2 years ago

Any updates? The scrolling is not working....

triCNguyen5 commented 2 years ago

@zBritva will there be a fix in any upcoming app release?

zBritva commented 2 years ago

@triCNguyen5 could you share no private dataset to reproduce the issue? I try to reproduce it by arbitrary data.

mshparber commented 2 years ago

@zBritva I have the same problem, the scrolling is not working. Attached is my file with sample data https://1drv.ms/u/s!AoP_9ampPIT7gcEMib57451m9fV7ZQ?e=In3yD4 If you can fix this, it'll be AWESOME!!!

zBritva commented 2 years ago

I see the reason of issue that scrolling conflicts with auto domain feature in charticulator.

triCNguyen5 commented 2 years ago

@zBritva please see my attached file.

Since you've found the root cause and fixed the issue. Will when the fix be applied to the Charticulator app version in Power BI Desktop?

Also, scrolling does not respond to the mouse wheel, and it is not as smooth as core visual scrolling. Will it be an enhancement request to make scrolling respond to mouse wheel as well as the smooth experience?

charticulator_scrolling.zip

zBritva commented 2 years ago

Applying changes to visual doesn't depends on me for now. Probably @MatthLee can help with it.

Mouse scrolling is difficult to implement due to Charticulator launches solver to calculate positions of all elements. For smooth scrolling we need precalculated hidden elements.

For now I how no idea how it can be easily implemented.

triCNguyen5 commented 1 year ago

@zBritva @MatthLee Has Microsoft stopped supporting Charticulator? Any update on when the fixes for scrolling will be rolled into the Power BI Desktop version?