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
Getting following exception while creating TKChart control. This is applicable for all Telerik controls. When i deploy Examples.sln file then its working fine but when i create simple sample with chart getting this issue
Thanks,
Dhanasekar
Hi,
i am trying to create a graph, as can be seen in picture Chart.png.
But i found no property to set the start value of the logarithmic axis (default start value is 1 but i need 125).
How can i change the display range of the TKChartNumericAxis? And it is possible to invert the y axis (like in the screenshot)?
var chart = new TKChart
{
XAxis = new TKChartLogarithmicAxis
{
LogarithmBase = 2
},
YAxis = new TKChartNumericAxis(NSObject.FromObject(-10), NSObject.FromObject(120)),
Frame = StackLayout.Bounds.ToRectangleF()
};
chart.Title.Hidden = true;
chart.Legend.Hidden = true;
var list = new NSObject[]
{
new TKChartDataPoint(new NSNumber(500), new NSNumber(70)),
new TKChartDataPoint(new NSNumber(1000), new NSNumber(40)),
new TKChartDataPoint(new NSNumber(2000), new NSNumber(60)),
new TKChartDataPoint(new NSNumber(4000), new NSNumber(50))
};
var series = new TKChartLineSeries(list);
chart.AddSeries(series);
Hello. I am using a RadCartesianChartView with CartesianGridLineAnnotations set on the Y axis. When zooming and panning the chart, the annotations get rendered below the X axis, both the labels and the strokes. I've attached 2 screenshots to demonstrate the effect. Is there a property that we can change to prevent the annotations from going below the X axis?
Thank you.
Hi,
i am showing a RadCartesianChartView with a DateTimeContinuousAxis for OX and a LinearAxis for OY. The OX is showing shorter or longer spans of time, depending on the user's choice.
1. Zoom
I want to set the chart zoom level from the moment i display the chart, but also allow the user to manually zoom and pan. I tried to use Chart.SetZoom() and also add ChartPanAndZoomBehavior(), but it doesn't work. If i set the Zoom factor, the user cannot manually pan and zoom. I also tried ChartPanAndZoomBehavior.SetZoomToChart() but has no effect.
2. Setting DateTimeContinuousAxis MajorStep
When the user selects a smaller time interval (like 1 month), i want the OX axis to show days, but not all 30 days. So i set the MajorStepUnit to TimeInterval.Day and the MajorStep to 10. However, it doesn't work as expected - i see a tick for every 5 days. Worse, when the user manually zooms on the chart, the tick interval is automatically changed. I can obtain a better result by setting the horizontalAxis.MaximumTicks, but i get other side effects. What can i do to have more control over the labels that are displayed in the OX axis?
Thank you!
Hi Telerik,
I have a problem with binding data to chart
my point inculcated date and int
but my int can be null
i don't what to display the point but i what the chart to show the empty space
code:
public class DataEntity : NSObject
{
[Export("Date")]
public NSDate Date { get; set; }
[Export("Value")]
public int? Value { get; set; }
public SeriesNames SeriesName { get; set; }
}
Hello
We have 2 charts in carousel
Chart.XAxis.AllowZoom = true;
Chart.XAxis.AllowPan = true;
Chart.AllowTrackball = true;
Chart.AllowPanDeceleration = true;
When we get into selected chart in the carousel
We add the relevant series and clear the previous chart series
This is the unhandled exception we get from the chart and the application crush
ios chart throw
exceptiFoundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[__NSPlaceholderArray initWithCapacity:]: capacity (2147483646) is ridiculous
Native stack trace:on
0x0041dbfc -[TKChartGridRender drawInContext:] + 380
if we turn off the AllowZoom and AllowPan This exception not exists
Chart.XAxis.AllowZoom = false;
Chart.XAxis.AllowPan = false;
How to handle this exception
Best Regards