Sorry for the delayed response. Sometimes question in the forum get lost. You should be able to get faster reply, if you will write directly to Arction's support address
Thank for the reading User's Manual and reporting error. Indeed this part of manual and relevant example have not been modified for many years.
Nothing is wrong with using secondary axis - is is good alternative. The intended usage of Triggering is in "Oscilloscope" example, our Demo App -> XY -> Real-time monitoring.
- To hide axis and border, you just need to disable automatic axis layout and set margins to zero:
Code: Select all
//Disable automatic axis layouts
_chart.ViewXY.AxisLayout.AutoAdjustMargins = false;
_chart.ViewXY.AxisLayout.XAxisAutoPlacement = XAxisAutoPlacement.Off;
_chart.ViewXY.AxisLayout.YAxisAutoPlacement = YAxisAutoPlacement.Off;
_chart.ViewXY.AxisLayout.XAxisTitleAutoPlacement = false;
_chart.ViewXY.AxisLayout.YAxisTitleAutoPlacement = false;
_chart.ViewXY.Margins = new Padding(0, 0, 0, 0);
- Properties you mentioned are now renamed and probably moved. You need to set AxisX scroll mode to Triggering, disable visibility and enable Triggering.TriggeringActive, e.g.:
Code: Select all
AxisX axisX = _chart.ViewXY.XAxes;
axisX.Maximum = 0.01;
axisX.ScrollMode = XAxisScrollMode.Triggering;
axisX.Visible = false;
// Configure x-axis. triggering
axisX.Triggering.StaticMajorXGridOptions.Visible = true;
axisX.Triggering.StaticMinorXGridOptions.Visible = true;
axisX.Triggering.StaticMinorXGridOptions.DivCount = 5;
axisX.Triggering.TriggerSeriesType = TriggeringSeriesType.SampleDataSeries;
axisX.Triggering.TriggerLineSeriesIndex = 0;
axisX.Triggering.TriggeringActive = true;
axisX.Triggering.TriggerLevel = cls.Value;
axisX.Triggering.TriggeringPositionChanged += new Triggering.TrigPositionChangedHandler(TrigViewOptions_OnTrigPosChanged);
Indeed User's Manual is only brief document. However, most of user fail to read even that - thank you again for reading. You can get a lot of relevant details by contacting us. As stated in the preamble of a document, don’t hesitate to contact support (email@example.com
) if you have any question!
All the best.