Skip to content
ChartForgeX

API Reference

Class

ChartYProjection

Namespace ChartForgeX.Rendering
Assembly ChartForgeX
Modifiers sealed

A detached primary Y projection captured from supported vertical Cartesian preparation.

Inheritance

  • Object
  • ChartYProjection

Remarks

Increasing values run upward unless the authored Y axis is reversed. Source transforms and confinement share the X projection owner. This snapshot retains no mutable chart, axis, or formatter callback.

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

ConstrainViewport 2 overloads
public ChartYViewport? ConstrainViewport(Double firstLogicalY, Double secondLogicalY) #
Returns: ChartYViewport?

Confines a logical gesture while preserving its transformed span.

Parameters

firstLogicalY System.Double requiredposition: 0
The first logical position.
secondLogicalY System.Double requiredposition: 1
The second logical position.

Returns

The confined increasing source window, or null when it covers the full domain.

public ChartYViewport? ConstrainViewport(ChartYViewport requested) #
Returns: ChartYViewport?

Confines a source window, preserving exact in-domain bounds.

Parameters

requested ChartForgeX.Core.ChartYViewport requiredposition: 0
The requested source window.

Returns

The confined window, or null for the exact full domain.

public Double Project(Double sourceY) #
Returns: Double

Projects a finite source value, extrapolating outside the current window.

Parameters

sourceY System.Double requiredposition: 0
The source value; logarithmic values must be positive.

Returns

The logical Y coordinate.

public Double Unproject(Double logicalY) #
Returns: Double

Inverts a finite logical coordinate through the captured source scale.

Parameters

logicalY System.Double requiredposition: 0
The logical Y coordinate, including positions outside the plot.

Returns

The source value.

Properties

public Double FullMinimum { get; } #

Gets the resolved full lower source bound before applying a window.

public Double FullMaximum { get; } #

Gets the resolved full upper source bound before applying a window.

public Double Minimum { get; } #

Gets the lower source bound used by this scene.

public Double Maximum { get; } #

Gets the upper source bound used by this scene.

public ChartRect PlotBounds { get; } #

Gets the final logical plot rectangle.

public Boolean Reversed { get; } #

Gets whether increasing source Y runs downward.

public ChartScaleKind Scale { get; } #

Gets the captured source scale.