Hi, I am working on Telerik charts.
I need a dash line on the chart grid like as Line Annotation http://docs.telerik.com/devtools/xamarin/controls/chart/chart-annotations#cartesiangridlineannotation .
But the line annotation involves whole axis line instead of limited part. So I guess, I can use line series. But I could not find a way to update line series to display it as a dashed line. (I have attached sample drawing of dashed line that I need.)
Can you help me regarding this problem?
Thanks,
Hi,
I am using Telerik RadCartesianChart for Xamarin Forms. And I need to add annotation to this chart.
I have placed the RadCartesianChart in a control template and I would like to bind several annotations.
According to Annotations document, I can add annotations from only code behind like this:
"this.myChart.Annotations.Add(lineAnnotation);"
I think, there are 2 options for me:
1 - Find a way to use annotation binding from xaml instead of code behind.
2 - Find a way to access telerik chart which is in the control template, from code behind.
Could you please help me?
Hey Telerik team,
You were a big help before with the SideMenu SetHighlight so now I have 3 questions regarding the Calendar:
1. Currently in ViewWillAppear I style my calendar after creating it yet the theme/view mode/etc still changes after the view is presented to the screen. Is there a way to make this not happen and be styled before presenting to the screen? I've tried to style the calendar before adding the SubView but it still does the same thing.
2. I've tried to make the calendar day cells in a custom cell only display a number below the date (On both the iPad theme and standard theme). Unfortunately I can't find a way to do this - I have a custom cell but the events will display colored circles and things such as - 1 more... below. I'd like to make this just display "3" or "6". I've tried to set the maximum number of events to zero but that seems to ignore it completely.
3. Last, the calendar seems to load slowly with the events. Is there a way to have the events set before going to the calendar so that the load time is near instant?
In case a photo helps, I'd like to make the calendar look like this but with a number instead of a circle below the date:
https://components.xamarin.com/view/fmcalendar?version=1.3
Thanks so much!
Hello,
I use the calandar on a Xamarin.Forms solution to manage appointments, and for practical reasons, I want to show in the cells only the total number of appointments, without the shape or title, whether for iOS or Android.
Is it possible to do since the settings for the style or custom renderer?
I have attached a screenshot to show you the result I would like.
Thank you in advance.
Best Regards.
Julien.
Hi,
I am trying to show an image in xaml page from a local file, but it is throwing null object reference error. This happens only on project with telerik libraries. I was able to reporduce this issue by adding a new xaml page in QSF project that comes with installer. Is there any extra steps needed to make Xamarinforms render image ?
<Image AbsoluteLayout.LayoutFlags="PositionProportional" AbsoluteLayout.LayoutBounds="0.5, 0, 100, 100" Rotation="30" Source="reorder_icon.png" />
<Image HorizontalOptions="End" >
<Image.Source >
<OnPlatform x:TypeArguments="Image">
<OnPlatform.iOS><FileImageSource File="reorder_icon.png"/></OnPlatform.iOS>
<OnPlatform.Android><FileImageSource File="reorder_icon.png"/></OnPlatform.Android>
<OnPlatform.WinPhone><FileImageSource File="Images/reorder_icon.png"/></OnPlatform.WinPhone>
</OnPlatform>
</Image.Source>
</Image>
Regards,
Prava
Hi,
Is there any documentation on setting up custom label formats? the .net formats don't seem to work, and I am supporting some dynamic configuration which will mean i need to 'translate' from the .net format to something that will work for the ios and android renderers.
Thanks
Phil
When I put a ListView in a TabbedPage on Android (using AppCompat), the TabbedPage enables swipe through its tabs left and right. However this overrides the swipe gesture handling of the ListView.
As a consequence, when the ListView is in the leftmost Tab, you can swipe the cell to the right but a swipe to the left on the swiped cell does a tab swipe to the next tab instead of unswipe the cell.
When the ListView is in any other tab than the leftmost, a right swipe moves to the previous tab so cell swipe is not accessible at all.
(How) is it possible to have the ListView swipe gesture take precedence over the TabbedPage swipe gesture? I.e. swiping on the list will do a cell swipe, and swiping outside the list will do a tab swipe.
Even better would be when swiping to the right on an already right-swiped cell would bubble up to the tab right swipe, and similarly swiping to the left on an unswiped cell would bubble up to the tab left swipe.
PS: I did find an ugly hack to disable swiping on the TabbedPage which allows the cell swipe to work on Android, but I prefer a solution that does not cripple the TabbedPage (see https://forums.xamarin.com/discussion/comment/205661/#Comment_205661)
When trying to debug on android device I am getting a series of cast exceptions when debugging the sample . The app runs ok on the device when not debugging.
Anyone got any ideas on what might be the cause of this?
System.InvalidCastException: Unable to convert instance of type 'Telerik.XamarinForms.InputRenderer.Android.DataForm.ValidationCompletedListener' to type 'com/telerik/widget/dataform/visualization/core/EntityPropertyEditor'.
System.InvalidCastException: Unable to convert instance of type 'Telerik.XamarinForms.InputRenderer.Android.DataForm.ValidationCompletedListener' to type 'com/telerik/widget/dataform/visualization/core/EntityPropertyEditor'.
System.InvalidCastException: Unable to convert instance of type 'Telerik.XamarinForms.InputRenderer.Android.DataForm.ValidationCompletedListener' to type 'com/telerik/widget/dataform/visualization/core/EntityPropertyEditor'.
System.InvalidCastException: Unable to convert instance of type 'Telerik.XamarinForms.InputRenderer.Android.DataForm.ValidationCompletedListener' to type 'com/telerik/widget/dataform/visualization/core/EntityPropertyEditor'.
System.InvalidCastException: Unable to convert instance of type 'Telerik.XamarinForms.InputRenderer.Android.DataForm.ValidationCompletedListener' to type 'com/telerik/widget/dataform/visualization/core/EntityPropertyEditor'.
System.InvalidCastException: Unable to convert instance of type 'Com.Telerik.Widget.Dataform.Visualization.Editors.DataFormTextEditor' to type 'com/telerik/widget/dataform/visualization/editors/DataFormSeekBarEditor'.
System.InvalidCastException: Unable to convert instance of type 'Com.Telerik.Widget.Dataform.Visualization.Editors.DataFormTextEditor' to type 'com/telerik/widget/dataform/visualization/editors/DataFormSpinnerEditor'.
System.InvalidCastException: Unable to convert instance of type 'Com.Telerik.Widget.Dataform.Visualization.Editors.DataFormTextEditor' to type 'com/telerik/widget/dataform/visualization/editors/DataFormDateEditor'.
System.InvalidCastException: Unable to convert instance of type 'Com.Telerik.Widget.Dataform.Visualization.Editors.DataFormTextEditor' to type 'com/telerik/widget/dataform/visualization/editors/DataFormTimeEditor'.
System.InvalidCastException: Unable to convert instance of type 'Android.Widget.EditText' to type 'com/telerik/widget/numberpicker/RadNumberPicker'.
System.InvalidCastException: Unable to convert instance of type 'Com.Telerik.Widget.Dataform.Visualization.Editors.DataFormTextEditor' to type 'com/telerik/widget/dataform/visualization/editors/DataFormIntegerEditor'.
System.InvalidCastException: Unable to convert instance of type 'Com.Telerik.Widget.Dataform.Visualization.Editors.DataFormTextEditor' to type 'com/telerik/widget/dataform/visualization/editors/DataFormDecimalEditor'.
Hello Telerik,
My idea is to put several charts in the same page using a ScrollView. The ScrollView, charts containers and charts are set to fill and expand horizontally and vertically. But, what i get is an unexpected behavior (attached files). Any idea?
Thanks