Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RichText Widget for LineTooltipItem #294

Closed
aseef17 opened this issue Apr 9, 2020 · 3 comments
Closed

Support for RichText Widget for LineTooltipItem #294

aseef17 opened this issue Apr 9, 2020 · 3 comments
Labels
enhancement New feature or request Fundamental

Comments

@aseef17
Copy link

aseef17 commented Apr 9, 2020

Additional customisation support for the LineToolTipItem instead of just a string will be really helpful.

If not support for RichText, maybe adding support for rendering HTML will be helpful.

What I have right now
Current

What I would like to achieve
Design

@imaNNeo imaNNeo added enhancement New feature or request Fundamental labels Apr 9, 2020
@MrdotSpock
Copy link

Hi,

Is there any progress with this enhancement? I am looking for a way to set different attributes to different parts of the text.

@imaNNeo
Copy link
Owner

imaNNeo commented Apr 1, 2021

Hi, check out our new release: 0.35.0

children property added in the LineTooltipItem, BarTooltipItem and ScatterTooltipItem which accepts a list of TextSpan. It allows you to have more customized texts inside the tooltip.

Check below examples:

BarChartSample 1 (Source Code)

ScatterChartSample 2 (Source Code)

@imaNNeo imaNNeo closed this as completed Apr 1, 2021
@MrdotSpock
Copy link

Thanks, I will give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fundamental
Projects
None yet
Development

No branches or pull requests

3 participants