In progress...

This commit is contained in:
Kolan Sh 2018-01-17 12:46:25 +03:00
parent a79254c716
commit 43836e1c56
1 changed files with 20 additions and 0 deletions

View File

@ -1,5 +1,8 @@
namespace CairoChart { namespace CairoChart {
/**
* Cairo/GTK+ Chart.
*/
public class Chart { public class Chart {
/** /**
@ -12,12 +15,29 @@ namespace CairoChart {
*/ */
public Cairo.Context ctx = null; public Cairo.Context ctx = null;
/**
* Background Color.
*/
public Color bg_color = Color(1, 1, 1); public Color bg_color = Color(1, 1, 1);
/**
* Chart Title.
*/
public Text title = new Text ("Cairo Chart"); public Text title = new Text ("Cairo Chart");
/**
* Border Color.
*/
public Color border_color = Color(0, 0, 0, 0.3); public Color border_color = Color(0, 0, 0, 0.3);
/**
* Legend.
*/
public Legend legend = new Legend (); public Legend legend = new Legend ();
/**
* Chart Series.
*/
public Series[] series = {}; public Series[] series = {};
public double cur_x_min = 0.0; public double cur_x_min = 0.0;