Profile Picture

Scrolling NPanels

Posted By Tal Harari 14 Years Ago
Author
Message
Tal Harari
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)

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.

Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Tal,

There is no build-in functionality in the chart that allows you scroll panels - you can only scroll charts (All Examples\Interactivity\Tools\Axis Scroll Tool), or alternatively embed the charts in a scrollable user control. You can achieve this by nesting a chart control in a UI decorator (UI Examples\All Examples\Decorators\Decorators).



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic