Group: Forum Members
Last Active: 9 Years Ago
Posts: 11,
Visits: 10
|
Hi!
The version of Nevron components is "Nevron .NET Vision 2011.1 for VS2010".
There are several NDockPanels within the root panel of NChartControl, all docked to the Top and of equal height. Each of them contains NLabel (Dock = Top), NLegend (Dock = None) and NCartesianChart (Dock = Fill).
NOffsetTool is added to NChartControl.Controller.Tools.
When one of the legends is being dragged with the mouse cursor, the actual vertical distance in pixels it passes is (vertical_distance_passed_by_mouse_cursor / number_of_dock_panels_within_the_root_panel), i.e. when there are 4 dock panels, and the vertical distance passed by the mouse cursor since BeginDrag event is 40 px, the actual vertical distance passed by the legend will be 10 px.
The horizontal offset is correct, though it probably wouldn't be in a case of several panels docked horizontally.
In a case of a single dock panel the vertical offset is correct.
Is there a workaround or fix for this issue?
|