Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Chart Area
posted

Hello,

I have a problem with my chart: The data don't fill the entire chart area.

As you can see on the picture, the lines take less than 75% of the space.

I don't want to change the size of the chart.I just want to modify the proportion between the red rectangle (on the picture) and the chart size.

Can you help me?

Thank you!

Parents Reply
  • 125
    posted in reply to [Infragistics] Marianne

    Hello,

    I still have the problem:

    The chart:

    I have defined the Maximum

    and here is my xaml code:

                <igCA:XamChart Margin="5" Theme="Aquarius" Grid.Column="1" DataContext="{Binding .}" x:Name="xamChart" >
                    <igCA:XamChart.Legend>
                        <igCA:Legend MarginType="Percent" Margin="20,90,20,0" />
                    </igCA:XamChart.Legend>
                    <igCA:XamChart.Axes>
                        <igCA:Axis AxisType="PrimaryY" RangeFromZero="False" Unit="1" />
                        <igCA:Axis AxisType="PrimaryX" RangeFromZero="False" Unit="1" />
                    </igCA:XamChart.Axes>

                    <igCA:XamChart.Scene>
                        <igCA:Scene MarginType="Percent" Perspective="100">
                            <igCA:Scene.GridArea>
                                <igCA:GridArea Background="#FFFCFCFC" MarginType="Percent" Margin="10">
                                </igCA:GridArea>
                            </igCA:Scene.GridArea>
                        </igCA:Scene>
                    </igCA:XamChart.Scene>
            <igCA:XamChart.Series>
                        <igCA:Series ChartType="ScatterLine" Label="{Binding ShapingName1}" Fill="Blue"  DataSource="{Binding ShapingData1}" DataMapping="ValueX  = Time; ValueY = Pressure">
                            <igCA:Series.Marker>
                                <igCA:Marker Foreground="Transparent" MarkerSize=".7" Type="Circle" Fill="Blue" />
                            </igCA:Series.Marker>
                        </igCA:Series>
                        <igCA:Series ChartType="ScatterLine" Label="{Binding ShapingName2}" Fill="Green" DataSource="{Binding ShapingData2}" DataMapping="ValueX  = Time; ValueY = Pressure">
                            <igCA:Series.Marker>
                                <igCA:Marker Foreground="Transparent"  MarkerSize=".7" Type="Circle" Fill="Green" />
                            </igCA:Series.Marker>
                        </igCA:Series>
                    </igCA:XamChart.Series>
                </igCA:XamChart>

    thank you for your help.

Children