Hi,
tried to paint custom markers in my graph. I used the code from http://help.infragistics.com/iOS/2014.1/IGChartView_Using_Custom_Markers.html.
But only the label from top is ok. The markers from the other series are overlapped and not readable. Is there anything like LabelStyles.Inside. I did some experiments in the ResolveMarkerView function with the IGMarkerDisplayOptions but with no effect.
Thanks,
Johann
Hello Johann,
What you could do in your case is to align the text of the corresponding IUView element and also you should add one or two space and the end of the formatted text. Please see the attached sample.
Please let me know if you have any further questions.
Hello Hristo,
i tried it. I had to convert the sample into c#. But the result doesn't affect the markers.
label.BackgroundColor = UIColor.LightGray; label.TextAlignment = UITextAlignment.Left; label.Text = String.Format("{0} ", labelText); label.Font = UIFont.SystemFontOfSize(11); label.Layer.CornerRadius = 8.0f; label.SizeToFit(); return label;
I upload a image to http://de.tinypic.com/view.php?pic=til4&s=8
Thanks Hristo,
today i checked the sample. It works.
bye
Hello,
I am just checking about the progress of this issue. Let me know If you need any further assistance on this matter?
Thank you for using Infragistics Components.
Hello ,
You could to nest the UILabel in a UIView, such that the label is at the bottom of the view and return the UIView. I’ve implemented this in my sample, please run it and let me know if this is what you are looking for.
Please let me know if you have any further questions .