# LineChart - one day chart

**URL:** <https://forum.radzen.com/t/linechart-one-day-chart/6113>\
**Category:** Radzen.Blazor Components\
**Created:** [December 23, 2020, 2:18pm UTC](https://forum.radzen.com/t/linechart-one-day-chart/6113 "2020-12-23T14:18:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angel\_David\_Marte](https://forum.radzen.com/user_avatar/forum.radzen.com/angel_david_marte/32/5519_2.png) [@Angel\_David\_Marte](https://forum.radzen.com/u/Angel_David_Marte)\
**Post date:** [December 23, 2020, 2:18pm UTC](https://forum.radzen.com/t/linechart-one-day-chart/6113/1 "2020-12-23T14:18:06Z")

</div>

I'm doing a application that must show the today data. I have a List with datetime and all are from the same day only change the time. I need a 15 minutes LineChart. I searched in a lot of pages, repositories and documentations and I cant found a CategoryProperty types. So how can I show one day chart with a 15 minutes marks?

I don't want a X values saying the date i just want a time there.

Look at the Enumerable:  
DataItem[] receivedEvents = new DataItem[] {  
new DataItem  
{  
Date = DateTime.Parse("2020-01-01 08:00:00"),  
TotalEvents = 62  
},  
new DataItem  
{  
Date = DateTime.Parse("2020-01-01 08:15:00"),  
TotalEvents = 52  
},  
new DataItem  
{  
Date = DateTime.Parse("2020-01-01 08:30:00"),  
TotalEvents = 44  
},  
new DataItem  
{  
Date = DateTime.Parse("2020-01-01 08:45:00"),  
TotalEvents = 66  
}  
};

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [December 23, 2020, 3:03pm UTC](https://forum.radzen.com/t/linechart-one-day-chart/6113/2 "2020-12-23T15:03:26Z")

</div>

Hi @Angel_David_Marte,

You can check this thread which shows how to format the values displayed by the category axis: [RadzenChart FormatString: Need single digit hour format](http://forum.radzen.com/t/radzenchart-formatstring-need-single-digit-hour-format/5889)

---

<div class="post-metadata">

**Author:** ![Angel\_David\_Marte](https://forum.radzen.com/user_avatar/forum.radzen.com/angel_david_marte/32/5519_2.png) [@Angel\_David\_Marte](https://forum.radzen.com/u/Angel_David_Marte)\
**Post date:** [December 23, 2020, 3:13pm UTC](https://forum.radzen.com/t/linechart-one-day-chart/6113/3 "2020-12-23T15:13:50Z")

</div>

Yes, it's all I needed. Thanks a lot!
