Mysterious Title Bar out of nowhere on the Bar Chart

5 posts, 0 answers
  1. Oscar
    Oscar avatar
    25 posts
    Member since:
    Aug 2012

    Posted 28 Apr 2011 Link to this post

    there is a mysterious Title Bar that appears from nowhere on the Bar Chart.
    Look at the attached images..

    Why it happens only sometimes (2 out of 10 times for example).


    Regards

  2. Stanescu Mihai
    Stanescu Mihai avatar
    33 posts
    Member since:
    Aug 2009

    Posted 29 Apr 2011 Link to this post

    I have the same issues. Check the screens.

    I am using PRISM 4 and have a specific module in which i placed the graph. If i enter in that module first time then it is all ok. 
    But if I click on another module, do some operations there and then go back to the one with the chart I get the problem.

    Any ideea how to permanently hide it. Or is it a way to avoid it?
    Also the axis labels are going wild.
  3. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 29 Apr 2011 Link to this post

    Hello Stanescu Mihai,

    Try setting explicitly the RadChart.DefaultView.ChartTitle.Visibility property to Collapsed.

    As for the axis labels -- indeed we must confirm that there is an open issue that results in the described behavior in specific integration scenarios -- it seems the scheduleview localization is interfering with the chart labels localization. We have already logged this issue in our public issue tracking system and we have forwarded it to our developers with high priority for permanent resolution.

    As a temporary workaround we would suggest you to add the following line in the MainPage constructor (just after the InitializeComponent(); call) and this should resolve the problem for the time being:
    Telerik.Windows.Controls.LocalizationManager.Manager = new Telerik.Windows.Controls.LocalizationManager();

    Sorry for the temporary inconvenience.


    Best wishes,
    Giuseppe
    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
  4. Stanescu Mihai
    Stanescu Mihai avatar
    33 posts
    Member since:
    Aug 2009

    Posted 06 May 2011 Link to this post

    Thanks Giuseppe,

        Your ideea worked, partially. 
        Check the screenshot. I tried to set:
                
    <chart:ChartDefaultView.ChartTitle>
       <chart:AxisTitle Visibility="Collapsed" />
    </chart:ChartDefaultView.ChartTitle>

        But without success.
    Thanks in advance.
  5. Oscar
    Oscar avatar
    25 posts
    Member since:
    Aug 2012

    Posted 06 May 2011 Link to this post

    @Stanescu
    you also have to add the line of Code Behind to the MainPage constructor

    we added the following right after InitializeComponent();

                LocalizationManager.Manager = new LocalizationManager();
                RadChartFinantial1.DefaultView.ChartTitle.Visibility = Visibility.Collapsed;

    and seems to work
Back to Top