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
425
How to prevent Scatter Chart points resizing
posted

Hi.

I'm working with scatter chart.

I cannot handle the points size (radius).

It atomatically increased when I maximize my window that contains chart.

How can I set scatter point size and prevent its resizing ?

I tried StrokeThickness parameter - it didn't work.

See sample below

<Window
 xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation "
 xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml "
 xmlns:igCA="http://infragistics.com/Chart" xmlns:d=" http://schemas.microsoft.com/expression/blend/2008 " xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006 "
 x:Class="SQCTest.TestScatterWind"
 x:Name="Window"
 Title="Window4"
 Width="640" Height="480" mc:Ignorable="d">

 <Grid x:Name="LayoutRoot">
  <igCA:XamChart d:LayoutOverrides="Width, Height">
  <igCA:XamChart.Series>
  <igCA:Series ChartType="Scatter" Label="Series 2">
   <igCA:Series.DataPoints>
      <igCA:DataPoint>
       <igCA:DataPoint.ChartParameters>
        <igCA:ChartParameter Type="ValueX" Value="1"/>
        <igCA:ChartParameter Type="ValueY" Value="40"/>
       </igCA:DataPoint.ChartParameters>
      </igCA:DataPoint>
      <igCA:DataPoint>
       <igCA:DataPoint.ChartParameters>
        <igCA:ChartParameter Type="ValueX" Value="3"/>
        <igCA:ChartParameter Type="ValueY" Value="110"/>
       </igCA:DataPoint.ChartParameters>
      </igCA:DataPoint>
      <igCA:DataPoint>
       <igCA:DataPoint.ChartParameters>
        <igCA:ChartParameter Type="ValueX" Value="5"/>
        <igCA:ChartParameter Type="ValueY" Value="70"/>
       </igCA:DataPoint.ChartParameters>
      </igCA:DataPoint>
      <igCA:DataPoint>
       <igCA:DataPoint.ChartParameters>
        <igCA:ChartParameter Type="ValueX" Value="9"/>
        <igCA:ChartParameter Type="ValueY" Value="70"/>
       </igCA:DataPoint.ChartParameters>
      </igCA:DataPoint>
     </igCA:Series.DataPoints>
  </igCA:Series>
  </igCA:XamChart.Series>
  </igCA:XamChart>
 </Grid>
</Window>

 Regards,