This is a migrated thread and some comments may be shown as answers.

Mysterious Title Bar out of nowhere on the Bar Chart

4 Answers 53 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Oscar
Top achievements
Rank 1
Oscar asked on 28 Apr 2011, 06:25 PM

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

4 Answers, 1 is accepted

Sort by
0
Stanescu Mihai
Top achievements
Rank 1
answered on 29 Apr 2011, 08:38 AM
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.
0
Giuseppe
Telerik team
answered on 29 Apr 2011, 12:31 PM
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
0
Stanescu Mihai
Top achievements
Rank 1
answered on 06 May 2011, 11:12 AM
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.
0
Oscar
Top achievements
Rank 1
answered on 06 May 2011, 10:03 PM
@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
Tags
Chart
Asked by
Oscar
Top achievements
Rank 1
Answers by
Stanescu Mihai
Top achievements
Rank 1
Giuseppe
Telerik team
Oscar
Top achievements
Rank 1
Share this question
or