Hi everibody,
I have this code that render a serie that is part of a RadzenChart:
<RadzenColumnSeries Data="@DailyAttendanceOut" ValueProperty="Count" CategoryProperty="Hour" Title="Salidas">
<TooltipTemplate Context="data">
<div>
Salidas de <span>@data.Hour</span>h a <span>@(data.Hour + 1)</span>h:
<strong>@data.Count</strong>
</div>
</TooltipTemplate>
<ChildContent>
<RadzenSeriesDataLabels Visible="@true" />
</ChildContent>
</RadzenColumnSeries>
How could I show data label only if is greater than 0?
Something like this:
RadzenSeriesDataLabels Visible="@(data.Count > 0)" /
Code in visible property doesn't work, its only an example.
Childcontent doesn't own a context property, i don't know how to access data like a I'm doing tooltiptemplete
Thanks a lot.