Hi All,
I used StackedChart in my project. I want my columns are a fixed width in chart. Currently the width of the columns auto-sizes to the width of the screen. Ex: My chart has one column since the width of this column auto-size to the width of the screen.
Any ideas?
Thanks.
http://community.infragistics.com/forums/p/52899/315379.aspx#315379
i also got the following error "Unable to cast object of type 'Infragistics.UltraChart.Core.Primitives.GraphicsContext' to type 'Infragistics.UltraChart.Core.Primitives.Box'."
Private Sub ucColumnChart_FillSceneGraph(ByVal sender As Object, ByVal e As Infragistics.UltraChart.Shared.Events.FillSceneGraphEventArgs) Handles ucCoulmnChart.FillSceneGraph Dim texts As New List(Of Text)() For Each prim As Primitive In e.SceneGraph 'Dim box As Box = TryCast(prim, Box) Dim boxs As Box = Nothing boxs = CType(prim, Box) If boxs Is Nothing OrElse boxs.DataPoint Is Nothing Then Continue For End If
Dim text As New Text() text.labelStyle.HorizontalAlign = StringAlignment.Center text.labelStyle.VerticalAlign = StringAlignment.Center text.SetTextString(boxs.Value.ToString()) text.bounds = boxs.rect texts.Add(text) Nextend sub
i need to include text labels in 3D column chart.
Have you tried the code from this post:
http://news.infragistics.com/forums/p/5914/25885.aspx#25885
Hi,
I have two charts in page, I filled chart 2 when the user clicked column bar of chart1.
The problem are width size of column bar chart2.
Thanks
Could you please provide a little bit more information what is this picture is not as expected?