Bug: RadzenChart; RadzenColumnSeries

Hi,
there occurs a visual bug in the RadzenChart: RadzenColumnSeries. In a szenario, where the x-axis has 2 options e.g. "London" and "New York" with votes 1 and 2, the column with 1 vote (London) is not visible. Other vote combinations like 1 and 3 work perfectly fine tho. Someone can help me out?
Here is an example (razor file):

...
@using Radzen;
@using Radzen.Blazor;
...
<RadzenChart Style="height:100%; width:100%; margin-right:-50px;">
	<RadzenColumnSeries Data="@ChartInput" CategoryProperty="VoteOption" ValueProperty="VoteCount" Fill="green">								
		<TooltipTemplate Context="data">
			<div>
				Votes: <b>@data.VoteCount</b>
			</div>
		</TooltipTemplate>
	</RadzenColumnSeries>
	<RadzenValueAxis Visible=false />
	<RadzenCategoryAxis></RadzenCategoryAxis>
	<RadzenLegend Visible=false />
</RadzenChart>

@code
{
	public Votes[] ChartInput = { new Votes { VoteOption = "London", VoteCount = 1 }, new Votes { VoteOption = "New York", VoteCount = 2 } };

	public struct Votes
	{
		public string VoteOption { get; set; }
		public int VoteCount { get; set; }
	}
}

Output for the Code:

Output for votes 1 and 3:

Hi @RadzenUser90001,

Try setting the Min property of RadzenValueAxis to 0: <RadzenValueAxis Min="0" .../>

1 Like

Works, thanks a lot!