How to remove tool tip percentage in livechart

Viewed 3499

enter image description here

I use Stack Column bar in livecharts and when I hover the bar column, Active Tooltip. But I want to remove percentage.

Thx

2 Answers

Try

yourChart.ToolTip = null;
yourChart.Hoverable = false;

I think you can set the propertie IsWrapped to false. Like in the code :).

<lvc:CartesianChart Series="{Binding SeriesCollection}">
<lvc:CartesianChart.DataTooltip>
    <lvc:DefaultTooltip BulletSize="20" Background="Gray" IsWrapped ="false"/>
</lvc:CartesianChart.DataTooltip>

https://lvcharts.net/App/documentation/beta/LiveCharts-Wpf-DefaultTooltip

I hope it works.

Related