This is a migrated thread and some comments may be shown as answers.

Missing tooltip's background in charts

1 Answer 59 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Алексей
Top achievements
Rank 1
Алексей asked on 22 Feb 2018, 07:52 AM

Hi.

I have a problem: tooltip's background color in charts was missing. I tried to fix this but one color for all tooltip bg does not suit. It is necessary that backgorund color coincides with the color of the graphic

Can you tell me please how to fix this?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 23 Feb 2018, 11:31 AM
Hello, Алексей,

The tooltip background should be shown by default depending on the series color as it can be observed in our demo:

https://demos.telerik.com/kendo-ui/bar-charts/index

Also, using the tooltip.background will use the same color for all series and it should be used only when the tooltip color has to be unified:

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/tooltip#tooltip.background

If the color has to be changed per series, we recommend using the series.tooltip.background property:

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/series.tooltip#series.tooltip.background

Please ensure that there are no custom styles which can affect the tooltip color.

If the issue still occurs, please provide a runnable example as the issue could be caused by a factor which we are overlooking at this moment.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Charts
Asked by
Алексей
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or