C# Класс NPlot.Legend

Legend functionality specific to Legends associated with a PlotSurface2D.
Наследование: LegendBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AttachTo ( PlotSurface2D xa, PlotSurface2D ya ) : void

Specify the Axes to attach the legend to.

Legend ( ) : System

Default constructor.

UpdateAxesPositions ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2, ArrayList plots, float scale, int padding, Xwt.Rectangle bounds, Point &position ) : void

Updates the PlotSurface2D axes to compensate for the legend.

Описание методов

AttachTo() публичный Метод

Specify the Axes to attach the legend to.
public AttachTo ( PlotSurface2D xa, PlotSurface2D ya ) : void
xa PlotSurface2D Specify which horizontal axis the legend should be attached to.
ya PlotSurface2D Specify which vertical axis the legend should be attached to.
Результат void

Legend() публичный Метод

Default constructor.
public Legend ( ) : System
Результат System

UpdateAxesPositions() публичный Метод

Updates the PlotSurface2D axes to compensate for the legend.
public UpdateAxesPositions ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2, ArrayList plots, float scale, int padding, Xwt.Rectangle bounds, Point &position ) : void
pXAxis1 PhysicalAxis the bottom x axis
pYAxis1 PhysicalAxis the left y axis
pXAxis2 PhysicalAxis the top x axis
pYAxis2 PhysicalAxis the right y axis
plots System.Collections.ArrayList list of plots.
scale float scale parameter (for text and other)
padding int padding around plot within bounds.
bounds Xwt.Rectangle graphics surface bounds
position Point legend position
Результат void