Heatmap data zoom


Author
Message
Hyunjin Lee
Hyunjin Lee
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 2, Visits: 19
Is it possible to use the 'data zoom' feature in 'nevron chart'?

https://www.nevron.com/forum/uploads/images/adb3c6d0-7efc-4c23-ab82-63b2.jpg

I have coded it as below, but it doesn't seem to be working.


private void InitPlot()
{
  nChartControl1.Charts.Clear();
  nChartControl1.Panels.Clear();

  for (int index = 0; index < 4; ++index)
  {
    NCartesianChart chart = new();
    nChartControl1.Charts.Add(chart);
    chart.Size = new NSizeL(new NLength(100, NRelativeUnit.ParentPercentage), new NLength(100, NRelativeUnit.ParentPercentage));
    chart.UsePlotAspect = true;
    chart.BoundsMode = BoundsMode.Fit;
    chart.Width = 100;
    chart.Height = 100;
  }
}

private static void InitializeCoilDesignChartControl(Nevron.Chart.WinForm.NChartControl chartControl)
{
  chartControl.Controller.Tools.Clear();
  chartControl.Controller.Tools.Add(new NPanelSelectorTool()
  {
    Focus = true
  });
  chartControl.Controller.Tools.Add(new NAxisScrollTool());
  chartControl.Controller.Tools.Add(new NDataZoomTool()
  {
    WheelZoomAtMouse = true,
    BeginDragMouseCommand = new NMouseCommand(MouseAction.Wheel, MouseButton.None, 0)
  });
  chartControl.Controller.Tools.Add(new NOffsetTool()
  {
    BeginDragMouseCommand = new NMouseCommand(MouseAction.Down, MouseButton.Left, 1),
    EndDragMouseCommand = new NMouseCommand(MouseAction.Up, MouseButton.Left, 1)
  });
}


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search