Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Heatmap data zoom
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Heatmap data zoom
Heatmap data zoom
Post Reply
Heatmap
data
zoom
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Hyunjin Lee
Hyunjin Lee
posted 2 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 2,
Visits: 19
Is
it
possible
to
use
the
'
data
zoom
'
feature
in
'
nevron
chart
'?
I
have
coded
it
as
below
,
but
it
doesn
'
t
seem
to
be
working
.
private
void
InitPlot
()
{
&
nbsp
;
nChartControl1
.
Charts
.
Clear
();
&
nbsp
;
nChartControl1
.
Panels
.
Clear
();
&
nbsp
;
for
(
int
index
=
0
;
index
&
lt
;
4
; ++
index
)
&
nbsp
; {
&
nbsp
; &
nbsp
;
NCartesianChart
chart
=
new
();
&
nbsp
; &
nbsp
;
nChartControl1
.
Charts
.
Add
(
chart
);
&
nbsp
; &
nbsp
;
chart
.
Size
=
new
NSizeL
(
new
NLength
(
100
,
NRelativeUnit
.
ParentPercentage
),
new
NLength
(
100
,
NRelativeUnit
.
ParentPercentage
));
&
nbsp
; &
nbsp
;
chart
.
UsePlotAspect
=
true
;
&
nbsp
; &
nbsp
;
chart
.
BoundsMode
=
BoundsMode
.
Fit
;
&
nbsp
; &
nbsp
;
chart
.
Width
=
100
;
&
nbsp
; &
nbsp
;
chart
.
Height
=
100
;
&
nbsp
; }
}
private
static
void
InitializeCoilDesignChartControl
(
Nevron
.
Chart
.
WinForm
.
NChartControl
chartControl
)
{
&
nbsp
;
chartControl
.
Controller
.
Tools
.
Clear
();
&
nbsp
;
chartControl
.
Controller
.
Tools
.
Add
(
new
NPanelSelectorTool
()
&
nbsp
; {
&
nbsp
; &
nbsp
;
Focus
=
true
&
nbsp
; });
&
nbsp
;
chartControl
.
Controller
.
Tools
.
Add
(
new
NAxisScrollTool
());
&
nbsp
;
chartControl
.
Controller
.
Tools
.
Add
(
new
NDataZoomTool
()
&
nbsp
; {
&
nbsp
; &
nbsp
;
WheelZoomAtMouse
=
true
,
&
nbsp
; &
nbsp
;
BeginDragMouseCommand
=
new
NMouseCommand
(
MouseAction
.
Wheel
,
MouseButton
.
None
,
0
)
&
nbsp
; });
&
nbsp
;
chartControl
.
Controller
.
Tools
.
Add
(
new
NOffsetTool
()
&
nbsp
; {
&
nbsp
; &
nbsp
;
BeginDragMouseCommand
=
new
NMouseCommand
(
MouseAction
.
Down
,
MouseButton
.
Left
,
1
),
&
nbsp
; &
nbsp
;
EndDragMouseCommand
=
new
NMouseCommand
(
MouseAction
.
Up
,
MouseButton
.
Left
,
1
)
&
nbsp
; });
}
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search