##// END OF EJS Templates
Adjust various margins and paddings....
Adjust various margins and paddings. The text items have been changed to use QGraphicsTextItem bounding rects instead of calculating dimensions using QFontMetrics. It seems that QGraphicsTextItem boundingRect involves a lot more of a margin than QFontMetrics provided. To compensate, various margins and paddings have been adjusted lower. Change-Id: Idebf939f5dd804fb96daeaea4bbf1b45f4f02908 Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2483:f494279b6366
r2569:f4eaee212ddc
Show More
demos-qmlpolarchart.qdoc
33 lines | 1.2 KiB | text/plain | TextLexer
/ doc / src / demos-qmlpolarchart.qdoc
/*!
\example demos/qmlpolarchart
\title Qml Polar Chart
\subtitle
This is a demonstration of how to use polar chart in your QML application.
\table
\row
\o \br
We begin with a chart that has a spline series and a scatter series with random
data. Both series use the same axes.
\br
\br
\snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View1.qml 1
\o \inlineimage demos_qmlpolarchart1.png
\row
\o \br
The next example shows a chart with some accurate historical data that makes us to use a DateTimeAxis
and AreaSeries.
\br
\br
\snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View2.qml 1
\o \inlineimage demos_qmlpolarchart2.png
\row
\o \br
And the final example with a chart that uses a CategoryAxis to make the data easier to understand.
\br
\br
\snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View3.qml 1
\o \inlineimage demos_qmlpolarchart3.png
\endtable
*/