How to set Radzen Chart category axis Min parameter to 0 when working with Timespan?
Did you try any of the following:
TimeSpan.Zero
TimeSpan.FromMinutes(0)
I am sorry, but my question is only: How to set Radzen Chart category axis Min parameter to 0 ?
I do not know how the last part was added!
I just need a way to be able to set the minimum value of the x axis because when there is a minimum value in my data, let's say 500, what happens is that the minimum becomes that number and the chart does not display that column.
Something like this
<RadzenChart>
<RadzenCategoryAxis Min="0" />
</RadzenChart>
thanks, but it did not work.
You can try configuring RadzenValueAxis:
<RadzenChart>
<RadzenValueAxis Min="0" />
In case it still doesn't work and you have an active subscription you can contact us at info@radzen.com and provide the actual code you are working with.
for the time being I am adding the following: budgetSummary.Add(new BudgetSummary { Category = " ", Amount = 0 }); to lower it to o.
I know it is not professional to do it this way, but ....
Hi,
finally found the correct way to solve this:
List fillRange = new List()
{
new SeriesColorRange() {Min = 0}
};
then, you add to the columnseries: FillRange="@fillRange"
Hope this helps others.