Telerik Forums
UI for Xamarin Forum
1 answer
34 views

Hi Support Team,

 

I have an Xamarin application, and I using LineSeries chart.

One chart field contain more chart.

My issue, that on  IPhone the charts don' work good, the stroks colors don't realy colors, I setting other colors.
If I switch off the chart, I set color is transparent, don' other possible.

I can't switch off my chart, there is non "IsVisible" property!

In Android system chart all right working.

Wat is solution?

 

Best Regards,

Sandor Sapi

Didi
Telerik team
 answered on 19 Feb 2024
1 answer
101 views

Hi, I am Implementing the Bar series, I am able to draw the Bars, But I need to apply different colors to each bar. I've tried like below but no use.

        ChartPalette customPalette = chartView.Palette.ClonePalette();
            PaletteEntry barEntry = customPalette.GetEntry(ChartPalette.BarFamily);
            barEntry = customPalette.GetEntry(ChartPalette.BarFamily);
            barEntry.Fill = Color.Black;

            PaletteEntry barEntry1 = customPalette.GetEntry(ChartPalette.BarFamily);
            barEntry1= customPalette.GetEntry(ChartPalette.BarFamily);
            barEntry1.Fill = Color.Red;

            PaletteEntry barEntry2 = customPalette.GetEntry(ChartPalette.BarFamily);
            barEntry2  = customPalette.GetEntry(ChartPalette.BarFamily);
            barEntry2 .Fill = Color.Yellow;

            barSeries.CategoryBinding = new MonthResultDataBinding("Index");
            barSeries.ValueBinding = new MonthResultDataBinding("BarValue");
            barSeries.Data = (Java.Lang.IIterable)this.monthResults;
            chartView.Series.Add(barSeries);
            chartView.Palette = customPalette;

Any help on adding different color for each data point.

Lance | Senior Manager Technical Support
Telerik team
 answered on 05 Jul 2023
1 answer
73 views

Hi,

I've added 3 different bar series to RadCartesianChartView and added ChartSelectionBehavior like

 RadCartesianChartView chartView = new RadCartesianChartView(this);
 BarSeries barSeries = new BarSeries();
 BarSeries barSeries1 = new BarSeries();
 BarSeries barSeries2 = new BarSeries();

barSeries.CombineMode = ChartSeriesCombineMode.Stack;
barSeries.CategoryBinding = new MonthResultDataBinding("Month");
barSeries.ValueBinding = new MonthResultDataBinding("Result");
barSeries.SelectedFillColor = Color.Green;
barSeries.SelectedStrokeColor = Color.Red;
barSeries.SelectedStrokeWidth = 5;
barSeries.Data = (Java.Lang.IIterable)this.monthResults;
chartView.Series.Add(barSeries);

barSeries1.CombineMode = ChartSeriesCombineMode.Stack;
barSeries1.CategoryBinding = new MonthResultDataBinding("Month");
barSeries1.ValueBinding = new MonthResultDataBinding("Result1");
barSeries1.SelectedFillColor = Color.Blue;
barSeries1.SelectedStrokeColor = Color.Red;
barSeries1.SelectedStrokeWidth = 5;
barSeries1.Data = (Java.Lang.IIterable)this.monthResults;
chartView.Series.Add(barSeries1); barSeries2.CombineMode = ChartSeriesCombineMode.Stack; barSeries2.CategoryBinding = new MonthResultDataBinding("Month"); barSeries2.ValueBinding = new MonthResultDataBinding("Result2"); barSeries2.SelectedFillColor = Color.Orange; barSeries2.SelectedStrokeColor = Color.Red; barSeries2.SelectedStrokeWidth = 5; barSeries2.Data = (Java.Lang.IIterable)this.monthResults; chartView.Series.Add(barSeries2); ChartSelectionBehavior selectionBehavior = new ChartSelectionBehavior(); selectionBehavior.DataPointsSelectionMode = ChartSelectionMode.Single; chartView.Behaviors.Add(selectionBehavior);

While selecting the bar it selects only one barseries value. How can I select the 3 barseries values on single click.

 

Didi
Telerik team
 answered on 07 Jun 2023
1 answer
59 views

Hi Team,

Could you please help me how to scroll the RadCartesianChartView horizontally in Xamarin.Android.

Thank you! 

Didi
Telerik team
 answered on 30 May 2023
1 answer
85 views
how can I give label positions at outside in piechatseries
Didi
Telerik team
 answered on 06 Apr 2023
2 answers
63 views
Can I render my gauge chart ranges from c# code to UI?I have to bind my ranges based on specific conditions. Finally the ranges colors should be given in xaml. How can I achieve this? 
Lance | Senior Manager Technical Support
Telerik team
 answered on 29 Mar 2023
1 answer
63 views
how can I give area border for linechart?
Didi
Telerik team
 answered on 28 Mar 2023
1 answer
64 views
How to hide and show series based on legend clickevent
Didi
Telerik team
 answered on 27 Mar 2023
1 answer
61 views
Can I give Label to trackball behavior for its tooltip other than category and its value?
Didi
Telerik team
 answered on 17 Mar 2023
1 answer
46 views
I am getting spline series data individually how to get these splineseries together in combine mode?
Lance | Senior Manager Technical Support
Telerik team
 answered on 16 Mar 2023
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?