Profile Picture

Heatmap data zoom

Posted By HyunjinLee Last Year
Author
Message
HyunjinLee
Question Posted Last Year
View Quick Profile
Forum Newbie

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
Last Active: Last Year
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)
  });
}





Similar Topics


Reading This Topic