##// END OF EJS Templates
qmlchartproperties: font buttons for chart and pie
Jani Honkonen -
r1518:b1f54692a9e3
parent child
Show More
@@ -49,6 +49,10 Flow {
49 49 onClicked: series.animationOptions--;
50 50 }
51 51 Button {
52 text: "title font bold"
53 onClicked: series.titleFont.bold = !series.titleFont.bold;
54 }
55 Button {
52 56 text: "title color"
53 57 onClicked: series.titleColor = main.nextColor();
54 58 }
@@ -125,6 +129,10 Flow {
125 129 onClicked: series.axisX.gridVisible = !series.axisX.gridVisible;
126 130 }
127 131 Button {
132 text: "axis X labels italic"
133 onClicked: series.axisX.labelsFont.italic = !series.axisX.labelsFont.italic;
134 }
135 Button {
128 136 text: "axis X labels visible"
129 137 onClicked: series.axisX.labelsVisible = !series.axisX.labelsVisible;
130 138 }
@@ -127,4 +127,12 Flow {
127 127 text: "slice explode dist -"
128 128 onClicked: series.at(0).explodeDistanceFactor -= 0.1;
129 129 }
130 Button {
131 text: "slice label fontsize -"
132 onClicked: series.at(0).labelFont.pixelSize -= 1;
133 }
134 Button {
135 text: "slice label fontsize +"
136 onClicked: series.at(0).labelFont.pixelSize += 1;
137 }
130 138 }
General Comments 0
You need to be logged in to leave comments. Login now