# The category axis with an explicitly specified range is displayed incorrectly

**URL:** <https://forum.radzen.com/t/the-category-axis-with-an-explicitly-specified-range-is-displayed-incorrectly/21728>\
**Category:** Radzen.Blazor Components\
**Created:** [October 4, 2026, 3:49pm UTC](https://forum.radzen.com/t/the-category-axis-with-an-explicitly-specified-range-is-displayed-incorrectly/21728 "2026-10-04T15:49:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![admitrienko](https://forum.radzen.com/letter_avatar_proxy/v4/letter/a/f17d59/32.png) [@admitrienko](https://forum.radzen.com/u/admitrienko)\
**Post date:** [October 4, 2026, 3:49pm UTC](https://forum.radzen.com/t/the-category-axis-with-an-explicitly-specified-range-is-displayed-incorrectly/21728/1 "2026-10-04T15:49:31Z")

</div>

Hello all!

It looks like when I explicitly specified the range for the category axis with some specific values the final chart render not always looks correctly. To reproduce the issue I did some changes in Basic line example of Radzen Blazor Chart with line series area:

```csharp
<RadzenStack class="rz-p-0 rz-p-md-6 rz-p-lg-12">
    <RadzenChart>
        <RadzenLineSeries Data="@revenue" CategoryProperty="Month" ValueProperty="Revenue" Title="Revenue" />
        <RadzenValueAxis Min="512" Max="1073741824"></RadzenValueAxis>
    </RadzenChart>
</RadzenStack>

@code {
    class DataItem
    {
        public string Month { get; set; }
        public double Revenue { get; set; }
    }

    DataItem[] revenue = new DataItem[]
    {
        new DataItem { Month = "Jan", Revenue = 800 },
        new DataItem { Month = "Feb", Revenue = 600 },
        new DataItem { Month = "Mar", Revenue = 1000 },
        new DataItem { Month = "Apr", Revenue = 803*1024*1024 },
        new DataItem { Month = "May", Revenue = 700 },
        new DataItem { Month = "Jun", Revenue = 650 },
        new DataItem { Month = "Jul", Revenue = 680 },
        new DataItem { Month = "Aug", Revenue = 590 },
    };
}

```

The changes is simulate the range from 512 bytes to 1GiB. Then I run the example I can se the following:

 ![image](https://forum.radzen.com/uploads/default/original/3X/4/5/45cd706e2bef6ab6a6413d41e9efcec50ec07b6e.png)

The problem is not new and does not appear to be related to the latest changes.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 5, 2026, 5:16am UTC](https://forum.radzen.com/t/the-category-axis-with-an-explicitly-specified-range-is-displayed-incorrectly/21728/2 "2026-10-05T05:16:59Z")

</div>

Thanks! Will be fixed in our next update later the week.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 5, 2026, 6:24am UTC](https://forum.radzen.com/t/the-category-axis-with-an-explicitly-specified-range-is-displayed-incorrectly/21728/3 "2026-10-05T06:24:40Z")

</div>

The missing Max label is fixed and will be in the next release: a value axis with explicit Min and Max now always ends at Max, so your axis will run from 512 to 1073741824 at any chart height. Intermediate ticks divide the range evenly, so use FormatString (e.g. "{0:N0}") or a Formatter if you want them displayed as whole numbers.

Note that this does not change how the data is drawn. On a linear axis from 512 to 1 GB the values between 590 and 1000 are a tiny fraction of the range, so they will always sit on the baseline and only the 803 MB point will stand out. For data with such a spread a logarithmic axis is the right tool: set Logarithmic="true" on RadzenValueAxis and drop Min and Max, and the axis will show powers of 10 so that both the small values and the large one are readable.

---

<div class="post-metadata">

**Author:** ![admitrienko](https://forum.radzen.com/letter_avatar_proxy/v4/letter/a/f17d59/32.png) [@admitrienko](https://forum.radzen.com/u/admitrienko)\
**Post date:** [October 5, 2026, 7:29am UTC](https://forum.radzen.com/t/the-category-axis-with-an-explicitly-specified-range-is-displayed-incorrectly/21728/4 "2026-10-05T07:29:47Z")

</div>

Hi Vladimir!

In actual application I use formatter and data looks better )))

 ![image](https://forum.radzen.com/uploads/default/original/3X/6/5/65373129c8d2c9093fc9c88a81c9c33dc831c251.png)

I was just too lazy to add a lot of numbers ))) Regarding the use of logarithmic axes: for now, I'm not considering this option because the file storages analyzed by this application don't experience such drastic fluctuations.

Regards,

Andrey
