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
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.
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.
Hi Team,
Could you please help me how to scroll the RadCartesianChartView horizontally in Xamarin.Android.
Thank you!