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

Layout problem with chart and grid splitter

2 Answers 116 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Vikas
Top achievements
Rank 1
Vikas asked on 26 Aug 2016, 04:14 PM

I am running into weird layout problem with Chart view and grid splitter, I have user control with a grid with 3 columns. I have a a grid in first column grid splitter in 2nd and chart view and third

Everything looks good when the window is first rendered, But if i move the splitter to make the 3rd column big the chart view keeps expanding, I mean the labels on x axis keep getting farther apart.

It would be ok as long as I can stretch the column, but if i just keep moving mouse the chart labels keeps moving.

 

I have attached some images to give you a better idea

 

2 Answers, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 30 Aug 2016, 08:57 AM
Hi Vikas,

In the last image I see that the mouse is not directly over the splitter. It appears that for some reason the third column has gotten very large. The chart simply occupies the space you allocate for it. So, I think that whatever control you put in the third column will behave the same way, because it appears that the resizing logic is such.

I suggest you place another element in the third cell, like a button, to see if indeed this happens without the chart. Then you can look into what is going on and why the third column got so big.

Regards,
Petar Marchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Vikas
Top achievements
Rank 1
answered on 06 Sep 2016, 01:23 PM
Thanks, that was it.
Tags
Chart
Asked by
Vikas
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Vikas
Top achievements
Rank 1
Share this question
or