OK In progress...
This commit is contained in:
parent
f60b3f474e
commit
5f39fa57b6
|
@ -27,6 +27,10 @@ namespace CairoChart {
|
|||
|
||||
/**
|
||||
* Constructs a new ``Color``.
|
||||
* @param red red component.
|
||||
* @param green green component.
|
||||
* @param blue blue component.
|
||||
* @param alpha alpha component.
|
||||
*/
|
||||
public Color (double red = 0.0,
|
||||
double green = 0.0,
|
||||
|
|
|
@ -1,13 +1,27 @@
|
|||
namespace CairoChart {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public class Grid {
|
||||
/*public enum GridType {
|
||||
PRICK_LINE = 0, // default
|
||||
LINE
|
||||
}*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public Color color = Color (0, 0, 0, 0.1);
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public Line.Style line_style = Line.Style ();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public virtual Grid copy () {
|
||||
var grid = new Grid ();
|
||||
grid.color = this.color;
|
||||
|
@ -15,6 +29,9 @@ namespace CairoChart {
|
|||
return grid;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public Grid () {
|
||||
line_style.dashes = {2, 3};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue