I would like to be able to put the chartText of my stacked bar graph above the bar..is this possible?
Each chart text item is bound by its containing Box. If you need to change the location of the chart text item you'll have to handle FillSceneGraph and for each Text primitive whose Layer is set to StackBarChart you can change the bounds rectangle.
We decided we no longer need to move the text up but now we are having trouble with the text overlapping. Is there a way to wrap charttext?
I figured it out if anyone is interested. Handled it in ChartDrawItem:
Private Sub myChart_ChartDrawItem(ByVal sender As Object, ByVal e As Infragistics.UltraChart.Shared.Events.ChartDrawItemEventArgs) Handles myChart.ChartDrawItem
Dim t As Text = TryCast(e.Primitive, Text)
If Not t Is Nothing Then
t.labelStyle.WrapText = True
End If
End Sub
Plus answer to original question...you can use t.bounds.Offset(xOffset,yOffset)
Thanks for your help Max .