Group: Forum Members
Last Active: 9 Years Ago
Posts: 19,
Visits: 2
|
Hi,
I'm writing a dynamic charting component using Nevron Chart for .NET, and I've come across a problematic issue.
My NChartControl contains 3 NBackgroundDecoratorPanels: One on the top that shows a title, one on the bottom that shows a legend, and between those two there is a big panel that shows charts), that the user chooses at runtime, every chart under the previous chart displayed (docked to the top).
The problem is that when there are more than 3 charts in the main panel, the charts are so small they become unreadable. What I want is a way to set a limit to that panel, so that when over the limit the charts will remain the same size, and a scrollbar will be added so I can scroll between charts, while the title and legend does not move. In other words I need to be able to scroll the middle panel, and not the whole control.
Ive soon come to relize there isn't a way to add a scroll bar to an NBackgroundDecoratorPanel, or a way to scroll it using an ouside scroll bar ive added to the NChartControl, so I'm stuck.
Is there any way to scroll a panel that is within the NChartControl, without changing charts visibility? (cause that makes printing the whole control using an NPrintManager practically impossible) Maybe there is another type of panel (not NBackgroundDecoratorPanel) that allows me to do that?
Thanks.
|