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