Size of chart

3 posts, 0 answers
  1. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 10 Mar 2010 Link to this post

    Hi all,

    I hope someone out there knows the answer to my problem!

    I have created a project with two charts onto a stackpanel.
    Everything is fine, the correct data is shown and so on.

    Now when I run this project and minimize my window, the charts' sizes remain the same! (see attached image)
    Is it possible to have the charts minimize as well?
    Fact is when I have only one chart in my project, the charts minimizes with the window...

    Plz help!

  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 12 Mar 2010 Link to this post

    Hello GJ DM,

    You can achieve the desired functionality with a grid panel instead:

    <Grid x:Name="LayoutRoot">
            <ColumnDefinition />
            <ColumnDefinition />
        <control:RadChart x:Name="RadChart1" Grid.Column="0" />
        <control:RadChart x:Name="RadChart2" Grid.Column="1" />

    DataSeries series = new DataSeries();
    series.Add(new DataPoint(21));
    series.Add(new DataPoint(31));
    series.Add(new DataPoint(11));
    series.Add(new DataPoint(41));
    DataSeries series2 = new DataSeries();
    series2.Add(new DataPoint(11));
    series2.Add(new DataPoint(41));
    series2.Add(new DataPoint(51));
    series2.Add(new DataPoint(21));

    Hope this helps.

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 12 Mar 2010 Link to this post

    Unfortunately this did not do the trick :)

    But thanks for replying!

    kind regards,

Back to Top