Methods order changed according to usage probabilities.

This commit is contained in:
Kolan Sh 2018-01-23 20:26:21 +03:00
parent 36aba3995a
commit 74ba064a56
1 changed files with 39 additions and 39 deletions

View File

@ -11,24 +11,9 @@ namespace CairoChart {
public Area area = new Area(); public Area area = new Area();
/** /**
* Plot area bounds. * ``Chart`` Title.
*/ */
public Area plarea = new Area(); public Text title;
/**
* Current evaluated plot area.
*/
public Area evarea = new Area();
/**
* Zoom area limits (relative coordinates: 0-1).
*/
public Area zoom = new Area();
/**
* Cairo ``Context`` of the Drawing Area.
*/
public Cairo.Context ctx = null;
/** /**
* Background ``Color``. * Background ``Color``.
@ -40,35 +25,15 @@ namespace CairoChart {
*/ */
public Color border_color = Color(0, 0, 0, 0.3); public Color border_color = Color(0, 0, 0, 0.3);
/**
* ``Chart`` Title.
*/
public Text title;
/**
* Legend.
*/
public Legend legend;
/** /**
* ``Chart`` Series array. * ``Chart`` Series array.
*/ */
public Series[] series = {}; public Series[] series = {};
/** /**
* Index of the 1'st shown series in a zoomed area. * Legend.
*/ */
public virtual int zoom_1st_idx { get; protected set; default = 0; } public Legend legend;
/**
* Joint/common X axes or not.
*/
public virtual bool joint_x { get; protected set; default = false; }
/**
* Joint/common Y axes or not.
*/
public virtual bool joint_y { get; protected set; default = false; }
/** /**
* Joint/common {@link Axis} ``Color``. * Joint/common {@link Axis} ``Color``.
@ -80,11 +45,46 @@ namespace CairoChart {
*/ */
public LineStyle selection_style = LineStyle (); public LineStyle selection_style = LineStyle ();
/**
* Plot area bounds.
*/
public Area plarea = new Area();
/**
* Zoom area limits (relative coordinates: 0-1).
*/
public Area zoom = new Area();
/**
* Cairo ``Context`` of the Drawing Area.
*/
public Cairo.Context ctx = null;
/**
* Current evaluated plot area.
*/
public Area evarea = new Area();
/** /**
* ``Chart`` cursors. * ``Chart`` cursors.
*/ */
public virtual Cursors cursors { get; protected set; default = null; } public virtual Cursors cursors { get; protected set; default = null; }
/**
* Joint/common X axes or not.
*/
public virtual bool joint_x { get; protected set; default = false; }
/**
* Joint/common Y axes or not.
*/
public virtual bool joint_y { get; protected set; default = false; }
/**
* Index of the 1'st shown series in a zoomed area.
*/
public virtual int zoom_1st_idx { get; protected set; default = 0; }
/** /**
* Set paint color for further drawing. * Set paint color for further drawing.
*/ */