In progress...

This commit is contained in:
Kolan Sh 2018-01-18 16:53:47 +03:00
parent 55f2ced6bb
commit e0bf3884c4
1 changed files with 35 additions and 5 deletions

View File

@ -63,23 +63,53 @@ namespace CairoChart {
*/ */
public int zoom_1st_idx { get; protected set; default = 0; } public int zoom_1st_idx { get; protected set; default = 0; }
public double title_indent = 4; /**
* Joint/common X axes or not.
public Line.Style selection_style = Line.Style (); */
public bool joint_x { get; protected set; default = false; } public bool joint_x { get; protected set; default = false; }
/**
* Joint/common Y axes or not.
*/
public bool joint_y { get; protected set; default = false; } public bool joint_y { get; protected set; default = false; }
/**
* Joint/common axis color.
*/
public Color joint_axis_color = Color (0, 0, 0, 1); public Color joint_axis_color = Color (0, 0, 0, 1);
public CairoChart.Math math { get; protected set; default = new Math(); } /**
* Selection line style.
*/
public Line.Style selection_style = Line.Style ();
/**
* Chart cursors.
*/
public Cursors cursors { get; protected set; default = new Cursors (); } public Cursors cursors { get; protected set; default = new Cursors (); }
/**
* Math functions.
*/
public CairoChart.Math math { get; protected set; default = new Math(); }
/**
* Set paint color for further drawing.
*/
public Color color { public Color color {
private get { return Color(); } private get { return Color(); }
set { ctx.set_source_rgba (value.red, value.green, value.blue, value.alpha); } set { ctx.set_source_rgba (value.red, value.green, value.blue, value.alpha); }
default = Color(); default = Color();
} }
/**
* TODO: remove it.
*/
public double title_indent = 4;
/**
* Constructs a new Chart.
*/
public Chart () { } public Chart () { }
public Chart copy () { public Chart copy () {