Printing pages with large charts

Type tutorial

When browser prints a page, it resizes and refloats the whole DOM to fit the page. This ensures that all content fits into the print format, say, A4 or Letter. Chart containers are resized as well, but since browser rendering is an async operation, they do not re-render before the page goes to print. We […]

Adding tooltips to Volume Profile Indicator

Type demo

Normally, Volume Profile Indicator (as any other indicator) would display its hover data in a legend. This demo shows how we can create a custom theme to make tooltips pop up when directly hovering indicator’s bars. Code Example

WordCloud with hover effects on words

Type demo

This demo shows how we can add background color to the WordCloud labels, as well as change their appearance on hover. Code Note the setStateOnChildren: true and interactive: true in label configuration. The former ensures that “hover” state is triggered on all label children, including background, when it is hovered. The latter makes label “interactive”. […]