Interface IChartCoordinatesManager
- Namespace
- ATAS.Indicators
- Assembly
- ATAS.Indicators.dll
Interface for managing chart coordinates and scaling.
public interface IChartCoordinatesManager
- Extension Methods
Methods
ChangeRowsHeight(decimal)
Changes the height of the chart rows to a new specified height.
[Obsolete("Use UpdateChartYScaleOnMouseMove")]
void ChangeRowsHeight(decimal newHeight)
Parameters
newHeightdecimalThe new height to set for the chart rows.
EnableAutoScale()
Enables auto-scaling for the chart to fit the data within the view.
void EnableAutoScale()
EndScaling()
Ends the active Y-axis scaling gesture.
Added in ATAS 8.0.15.
void EndScaling()
MoveChartUpAndDown(int)
Moves the entire chart up or down by a specified offset.
void MoveChartUpAndDown(int offset)
Parameters
offsetintThe vertical offset to move the chart. Positive values move up; negative values move down.
ScrollPrice(int)
Scrolls the chart vertically by a specified number of ticks.
void ScrollPrice(int ticksCount)
Parameters
ticksCountintThe number of ticks to scroll. Positive values scroll up; negative values scroll down.
StartScaling(int)
Starts a Y-axis scaling gesture and stores the initial range.
Added in ATAS 8.0.15.
void StartScaling(int mouseY)
Parameters
mouseYintThe initial mouse Y-coordinate.
UpdateChartYScaleOnMouseMove(int, int)
Changes the Y-axis scale of the chart on mouse move
void UpdateChartYScaleOnMouseMove(int previousMouseY, int newMouseY)
Parameters
previousMouseYintnewMouseYint
UpdateChartYScaleOnMouseWheel(int)
Changes the Y-axis scale of the chart on mouse wheel
void UpdateChartYScaleOnMouseWheel(int delta)
Parameters
deltaint