Is it possible to customise the line style (eg. dashes, dots, combo) in the Cartesian chart or can we just change the colour and thickness?
Thanks =)
When the listview loads hundreds of pieces of data, the page slide will be stuck. Is there any way to alleviate it,
or implement listview paging?
I have a situation where the number of series visible on a Cartesian Chart will be controlled by some other switch / check box list that selects which series to show on the graph.
I have defined a basic class for each series like so:
public class LineSeriesData
{
public Color Colour { get; set; }
public ObservableCollection<LineDataPoint> DataSet { get; set; }
}
public class LineDataPoint
{
public double Value;
public object Category;
}
The VM for the control that uses the graph will then have a collection of the LineSeriesData class that I'd like to bind to the graph as individual LineSeries like in the documentation example, but I can't work out how the binding would work in the xaml as there's no datatemplate like interface to handle a collection of line series, just individual properties.
<telerik:RadCartesianChart.Series>
<telerik:LineSeries
Stroke="{Binding Colour}"
ValueBinding="Value"
CategoryBinding="Category"
ItemsSource="{Binding DataSet}" />
<telerik:LineSeries
Stroke="{Binding Colour}"
ValueBinding="Value"
CategoryBinding="Category"
ItemsSource="{Binding DataSet}" />
</telerik:RadCartesianChart.Series>
I also tried looping through the collection and adding series manually in the code behind but this doesn't seem to work either. The chart just displays No Data message.
foreach (var item in DataSeries) { var series = new LineSeries { Stroke = item.Colour, ItemsSource = item.DataSet }; series.ValueBinding.PropertyName = "Value"; series.CategoryBinding.PropertyName = "Category"; MyChart.Series.Add(series); };
Is there a way to bind to a collection of series or do we have to have individual properties for each one on the VM? If they have to be individual properties, how would I go about hiding / showing a series?
Thanks!
Hello,
Will Telerik release native controls for Microsoft.iOS and Microsoft.Android Like Xamatin.iOS and Xamarin.Android.
Thank you
Hey Team,
I created a ItemTemplate for ComboBox, and did some styles update, but I found there was no Hover status like default BackgroundColor changed when hover the items. May I know how can I add it?
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<telerik:RadBorder MinimumWidthRequest="300">
<Label Padding="16,7,0,7"
Text="{Binding Name}"
TextColor="Green" />
</telerik:RadBorder>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
<telerik:RadComboBox.SelectedItemTemplate>
<DataTemplate>
<telerik:RadBorder BackgroundColor="Gray"
MinimumWidthRequest="300">
<Label Margin="8,0,0,0"
Padding="8,7,0,7"
Text="{Binding Name}"
TextColor="Red" />
</telerik:RadBorder>
</DataTemplate>
</telerik:RadComboBox.SelectedItemTemplate>
You can add this code into Sample code to reproduce it.
My Current ComboBox drop down list:
Expect Drop down list:
The 3223334 option has a BackgroundColor when we hover it.
Thanks
Allen
Hi,
I'm having issues using Telerik MAUI controls in my project. (in this case the chart controls but it's also happened with others)
I am currently using 3.0 but I had the same issue with 2.3.
I've installed Telerik UI for MAUI and I've imported the Nuget into my project.
I'm trying to make a line graph so I copied the LineSeriesXaml example from the SDK app exactly into my project, but it is unable to resolve one of the types in the xaml (it resolves everything around it though) and so the build fails.
"Cannot resolve type "http://schemas.telerik.com/2022/xaml/maui:telerik:CategoricalAxis".
I had a similar issue before with the RadRadialGauge that I never managed to solve.
I've tried creating a brand new MAUI app in case there was something wrong in my existing app and it still won't build. (i even
copied the actual files from the SDK examples app to make sure there were no typos and that the namespace was correct)
I then created an app using the Telerik MAUI template in VS and it DID work, but the only difference between those two projects was
the version in .csproj file. In the telerik template, the version was set to * . In my new app it was 3.0.
When I updated my one to *, it still didn't work, so I have no idea what else could be causing the problem.
Both apps are brand new projects, there are no changes other than adding the example from SDK app.
Both are using the files from your SDK project so there's no difference there.
Both apps reference 3.0.
Any idea what's going on?
Hey Team,
When we tried to use RadComboBox to do a search functionality. We found the drop down list did not close when we hit 'Enter' on keyborad, but it closed on MacOS.
Could you please take a look? You can reproduce in SampleProject Code.
Thanks
Allen
Hey Team,
When I created a RadComboBox and set the SelectionMode="Single", I found the selected behavior is different between Windows OS and MacOS, blue line(Windows OS) and checkmark(MacOS). I think this may be expected design. I just want to confirm do we have a way to make them same? like both are showing blue line or checkmark? or we can hide them?
(Windows OS)
(Mac OS)
Thanks
Allen
Hi, I found very useful new component RadAutoComplete and create Recipient input control which is loading filtered list from API, is working good. But i found an issue - i'm create Entry input inside the No results template (see below) and it works just fine on MacOS but not working on Windows, i cannot input (focus) Entry inside the popup, is just nothing happens when i click on it.