OK In progress...
This commit is contained in:
parent
bd4e6089c9
commit
a45ac5d20f
|
@ -1,6 +1,7 @@
|
|||
using Gtk, CairoChart;
|
||||
|
||||
void plot_chart1 (Chart chart) {
|
||||
chart.title.text = "Chart №1";
|
||||
var s1 = new Series (chart);
|
||||
var s2 = new Series (chart);
|
||||
var s3 = new Series (chart);
|
||||
|
@ -42,6 +43,23 @@ void plot_chart1 (Chart chart) {
|
|||
s3.axis_y.title = new Text(chart, "Series 3: Axis Y.");
|
||||
|
||||
chart.series = { s1, s2, s3 };
|
||||
|
||||
chart.title.font.size = 24;
|
||||
s1.title.font.size = 16;
|
||||
s2.title.font.size = 16;
|
||||
s3.title.font.size = 16;
|
||||
s1.axis_x.title.font.size = 14;
|
||||
s2.axis_x.title.font.size = 14;
|
||||
s3.axis_x.title.font.size = 14;
|
||||
s1.axis_y.title.font.size = 14;
|
||||
s2.axis_y.title.font.size = 14;
|
||||
s3.axis_y.title.font.size = 14;
|
||||
s1.axis_x.font_style.size = 12;
|
||||
s2.axis_x.font_style.size = 12;
|
||||
s3.axis_x.font_style.size = 12;
|
||||
s1.axis_y.font_style.size = 12;
|
||||
s2.axis_y.font_style.size = 12;
|
||||
s3.axis_y.font_style.size = 12;
|
||||
}
|
||||
|
||||
void plot_chart2 (Chart chart) {
|
||||
|
|
Loading…
Reference in New Issue