Nevron Forum
Back
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
.
Tool
s
.
Clear
();
&
nbsp
;
chartControl
.
Controller
.
Tool
s
.
Add
(
new
NPanelSelector
Tool
()
&
nbsp
; {
&
nbsp
; &
nbsp
;
Focus
=
true
&
nbsp
; });
&
nbsp
;
chartControl
.
Controller
.
Tool
s
.
Add
(
new
NAxisScroll
Tool
());
&
nbsp
;
chartControl
.
Controller
.
Tool
s
.
Add
(
new
NDataZoom
Tool
()
&
nbsp
; {
&
nbsp
; &
nbsp
;
WheelZoomAt
Mouse
=
true
,
&
nbsp
; &
nbsp
;
BeginDrag
Mouse
Command
=
new
N
Mouse
Command
(
Mouse
Action
.
Wheel
,
Mouse
Button
.
None
,
0
)
&
nbsp
; });
&
nbsp
;
chartControl
.
Controller
.
Tool
s
.
Add
(
new
NOffset
Tool
()
&
nbsp
; {
&
nbsp
; &
nbsp
;
BeginDrag
Mouse
Command
=
new
N
Mouse
Command
(
Mouse
Action
.
Down
,
Mouse
Button
.
Left
,
1
),
&
nbsp
; &
nbsp
;
EndDrag
Mouse
Command
=
new
N
Mouse
Command
(
Mouse
Action
.
Up
,
Mouse
Button
.
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
Threaded View
Threaded View
Heatmap
data
zoom
Hyunjin Lee 1
-
2 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search