Skip to content
ConsoleMonster
Class

ChartPlotExtensions

ConsoleMonster.Graphics

Namespace
ConsoleMonster.Graphics
Assembly
ConsoleMonster.Graphics
Modifiers
static

Explores ChartForgeX line charts inside a ConsoleMonster app.

Inheritance

  • object
  • ChartPlotExtensions

Methods

public static ChartPlot ToChartPlot(Chart chart) #

A ChartForgeX Line or StepLine chart with numeric X as the ChartPlot a ChartView explores: new ChartView("key", chart.ToChartPlot()) or Ui.ChartView().Chart(chart.ToChartPlot()). Zoom and pan select scenes from the X zoom levels (1, 2, 4, 8 and 16) ChartForgeX prepares once per size and theme, so navigating never prepares the source chart again. Points along X come from the first series. Series can be hidden when ChartForgeX can prepare a visibility view for the chart, which needs every series added with its own ChartSeriesId; otherwise every series stays shown.

Parameters

chart ChartForgeX.Core.Chart required
The chart.

Returns

ChartPlot The plot.