Forum Discussion
rkqpbiviz
9 years agoRegular Visitor
make custom visuals scrollable
Hello - I am developing a custom visual in Power BI using typescript and the inbuilt d3 library, it is basically a very specific bullet chart - everything is going pretty well except for one thing - is there a simple way to make the visual scrollable? I've been looking at d3 solutions but they all seem fairly labour intensive so I wanted to know was there an inbuilt object or something similar? Thank you in advance :D
It depends on the parent element. You may use JavaScript syntax as shown below.
constructor(options: VisualConstructorOptions) { options.element.style.overflow = 'auto';
7 Replies
- v-chuncz-msftCommunity Support
- rkqpbivizRegular Visitor
Can you advise me what the object would be called in the css?
- v-chuncz-msftCommunity Support