Telerik Forums
UI for Universal Windows Platform Forum
1 answer
129 views
Hi,

This is a bug in my opinion, this a line can be drawn from 2 points.

While this will probably never fixed in the UWP project, I'm 99% sure the bug is in the WinUI project too since most of the rendering code is surely shared.

To repro the bug, just comment the 3rd data in the MainPage.xaml.cs file.

Sébastien
Didi
Telerik team
 updated answer on 23 Jan 2023
1 answer
127 views

Hi! I'm building an UWP app and having some issues with the bar graph.

I would like to show the value-label for each Tick instead of categoryname.

Like the example in the attached image that is from another application:

As you can see there is no Label for the bar, only labels for the tick. How do I do that in an UWP application.

Didi
Telerik team
 answered on 26 Dec 2022
1 answer
84 views
Hi,

In a RadCartesianChart with BarSeries, when a value is zero, we do see a 1px color line.

I do believe we should not see anything when a value is zero.

If the rendering engine is the same in WinUI, the behavior is surely there too.

Thanks
Sébastien
Didi
Telerik team
 answered on 12 Sep 2022
1 answer
94 views
Hi,

My item source contains values from June 23rd and June 24th only.

When I start the app, I set the axis minimum date to today June 27th (and max June 28th).

When I click go previous day to June 24th and June 23rd, data appears -> Good.

However, when I go further in the past or go back to June 25th, 26th, 27th, etc, the data of June 24th are still there!
Yana
Telerik team
 answered on 02 Jul 2022
3 answers
129 views
Hi,

My very short list of data is ordered by time. You will see that the rendering does not make sense.

You can run the sample: ChartBug.

As I understand, we can set the ItemSources of a SeriesSpline for like 1 month of data and control what is shown with the DateTimeContinuousAxis.Minimum and DateTimeContinuousAxis.Maximum values to set the visible range.

Thank you in advance
Sébastien
Yana
Telerik team
 answered on 30 Jun 2022
1 answer
72 views

Hi,

I noticed this bad effect today. My main view has 3 RadCartesianChart:
- SplineSeries (Minute)
- BarSeries (Hour)
- BarSeries (Day)

If I opened the app then navigate to previous dates in the default chart, you can see that the performance is amazing. There is actually 1440 data points. Then if I go to the day view that has like 30 data points and go back to the first chart, the performance is super bad.

In the second part of the video, I do the same exercise except I do not even navigate to previous dates, it means that the default chart has NO data in it! However, going to day chart then minute chart, the performance goes bad.

Sorry for the "spam" of bugs lately.

Thanks
Sébastien

Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 29 Jun 2022
0 answers
65 views
Hi,

Today, Lance (Telerik) updated my sample provided in https://www.telerik.com/forums/radcartesianchart-datetimecontinuousaxis-minimum-and-maximum-are-not-respected to bypass the bug on the Min/Max not taking into account.

I re-updated the sample (attached) with 2 videos. The sample is in line with my business app: 1440 data point per serie (up to 5 series).

The performance of LineSeries are really bad, I'm quite surprised because these are just lines.

However, if you replace the "<chart:LineSeries" in MainPage.xaml to "<chart:SplineSeries", it is like in real-time when changing the date. This is awesome and frankly I do not understand how come it is fast versus LineSeries where it takes 3 to 5 seconds to refresh. You can see the 2 videos.

My only fear is Spline has the following bug https://www.telerik.com/forums/radcartesianchart-weird-rendering

Thanks
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 28 Jun 2022
1 answer
215 views
Hi,

1- Run the app
2- After short time, you will see that the chart refreshes.

Data is added in real time on a 1 second timer, you can put the timer at 2 seconds and you will see the issu.e

With very few data, I would expect the Chart to not cause a flickering.

Thank you
Didi
Telerik team
 answered on 30 May 2022
0 answers
134 views

I'm facing issue while binding RadCartesianChart, application is crashing. With the help of application log both x-axis and y-axis value are passing but still getting null reference exception.

Logged the stack. Please help

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.UI.Xaml.Controls.Chart.PresenterBase.CreateContentPresenter(Object content, DataTemplate template)
   at Telerik.UI.Xaml.Controls.Chart.Axis.CreateLabelVisual(AxisLabelModel label)
   at Telerik.UI.Xaml.Controls.Chart.Axis.GetLabelVisual(AxisLabelModel label, Int32 index)
   at Telerik.UI.Xaml.Controls.Chart.Axis.MeasureLabel(AxisLabelModel label, Object content)
   at Telerik.Charting.AxisModel.MeasureCo
----Stack----
   at Telerik.UI.Xaml.Controls.Chart.PresenterBase.CreateContentPresenter(Object content, DataTemplate template)
   at Telerik.UI.Xaml.Controls.Chart.Axis.CreateLabelVisual(AxisLabelModel label)
   at Telerik.UI.Xaml.Controls.Chart.Axis.GetLabelVisual(AxisLabelModel label, Int32 index)
   at Telerik.UI.Xaml.Controls.Chart.Axis.MeasureLabel(AxisLabelModel label, Object content)
   at Telerik.Charting.AxisModel.MeasureCore(RadSize availableSize)
   at Telerik.Charting.AxisModel.Measure(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.AxisStack.Measure(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.PrepareAxesStacks(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.ArrangeAxes(RadRect availableRect)
   at Telerik.Charting.ChartAreaModelWithAxes.ArrangeOverride(RadRect rect)
   at Telerik.Core.Node.Arrange(RadRect rect, Boolean shouldRoundLayout)
   at Telerik.Core.RootElement.Arrange()
   at Telerik.UI.Xaml.Controls.Chart.RadChartBase.CallUpdateUI()
   at Telerik.UI.Xaml.Controls.Chart.RadChartBase.InvalidateLayout()
-------------

 

Thanks

Shoeb
Top achievements
Rank 1
 updated question on 06 Jul 2021
1 answer
239 views

We've got a RadCartesianChart with a BarSeries. We added the ChartTooltipBehaviour with a custom ContentTemplate. It's difficult to hover the mouse over bars with very small or zero values to get the tooltip to show, so I enabled `SnapToClosestPoint` for the tooltip. This works great for getting the tooltip to appear when hovering in the area above a bar, but if the tooltip gets rendered at a location where the mouse pointer is inside the tooltip, then the tooltip appears, disappears, appears, disappears, etc.

Has anyone else run into this issue? Anyone solved it?

Collin
Top achievements
Rank 1
Iron
 answered on 01 May 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?