Skip to content
ChartForgeX
Class

ChartXZoomLevels

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Implements
IReadOnlyList<double> IReadOnlyCollection<double> IEnumerable<double> IEnumerable
Modifiers
sealed
Attributes
DefaultMember("Item")

An immutable finite bank of increasing X magnifications, beginning with the full domain.

Inheritance

  • object
  • ChartXZoomLevels

Remarks

Magnification changes the visible X span, not native stroke, marker or text sizes. Each level is prepared by Core; intermediate magnifications are not synthesized by a host.

Usage

Explore 2 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

Accepted by parameters 1

Constructors

public ChartXZoomLevels(params double[] magnifications) #

Creates a bank whose first factor is one and whose remaining finite factors strictly increase.

Parameters

magnifications double[] required

Methods

public IEnumerator<double> GetEnumerator() #

Enumerates magnifications in increasing order.

Returns

IEnumerator<double>

Properties

public int Count { get; } #

Gets the number of authored levels.

public double this[int index] { get; } #

Gets a level's magnification.

Parameters

index int required