#include <KDChartEnums.h>


Text layout policy: what to do if text that is to be drawn would cover neighboring text or neighboring areas.
LayoutJustOverwrite Just ignore the layout collision and write the text nevertheless. LayoutPolicyRotate Try counter-clockwise rotation to make the text fit into the space. LayoutPolicyShiftVertically Shift the text baseline upwards (or downwards, resp.) and draw a connector line between the text and its anchor. LayoutPolicyShiftHorizontally Shift the text baseline to the left (or to the right, resp.) and draw a connector line between the text and its anchor. LayoutPolicyShrinkFontSize Reduce the text font size.Number notation specifies the general way, how a number is to be shown.
NumberNotationDecimal Traditional way of writing a decimal number. NumberNotationScientific Exponential notation, with exactly one non-zero digit to the left of the decimal. NumberNotationScientificBig Same as NumberNotationScientific, but using 'E' instead of 'e'.Areas of the chart that may have their own backgrounds and/or may be surrounded by a simple or complex border.
AreaData surrounding the data area AreaAxes surrounding the axes but leaving out the data area AreaDataAxes surrounding the data+axes area AreaLegend surrounding the legend area AreaDataAxesLegend surrounding the data+axes+legend area AreaHeaders surrounding the headers area AreaFooters surrounding the footers area AreaDataAxesLegendHeadersFooters surrounding the data+axes+legend+headers+footers area AreaInnermost covering the complete drawing area but not covering the global left/top/right/bottom leading AreaOutermost covering the complete drawing area including the global left/top/right/bottom leadingAreaChartDataRegion covering the area used to display one data entry (i.e. one point, bar, line, pie slice,...). The respective data coordinates are specified by additional parameters, this is used by KDChartCustomBox where you have the parameters dataRow, dataCol, data3rd.
AreasCustomBoxes specifies many small areas surrounding all the custom boxes that you might have added to the chart, this is useful in case you want to specify some default frame settings to be used for all custom boxes not having frame settings of their own.
AreaAxisBASE value to be added to the axis number in case you want to specify a single axis area, e.g. for specifying the area of the left ordinate axis just type AreaAxisBASE + AxisPosLeft. AreaHdFtBASE value to be added to the header/footer number in case you want to specify a single header (or footer, resp.) area, e.g. for specifying the area of the main header just type AreaHdFtBASE + HdFtPosHeader. AreaCustomBoxBASE value to be added to the number of a custom box that you might have added to your chart, e.g. for specifying the area a custom box you have added to the chart (let us assume the index of that box is in boxIdx1) just type AreaCustBoxBASE + boxIdx1.The general position flag to specify a point of an area, for example this could be the anchor point which an annotation box should be aligned to.
The following picture shows the different positions:
PositionFlag and a uint holding a combination of Qt::AlignmentFlags. Remember that Qt::AlignmentFlags are used to specify with which edge something is to be aligned to its anchor, e.g. AlignLeft means align with the left edge.
| static QString KDChartEnums::layoutPolicyToString | ( | TextLayoutPolicy | type | ) | [inline, static] |
Converts the specified text layout policy enum to a string representation.
| type | the text layout policy to convert |
| static QString KDChartEnums::numberNotationToString | ( | NumberNotation | notation | ) | [inline, static] |
Converts the specified number notation enum to a string representation.
| notation | the number notation to convert |
| static NumberNotation KDChartEnums::stringToNumberNotation | ( | const QString & | notation | ) | [inline, static] |
Converts the specified string to a number notation enum value.
| string | the string to convert |
| static TextLayoutPolicy KDChartEnums::stringToLayoutPolicy | ( | const QString & | string | ) | [inline, static] |
Converts the specified string to a text layout policy enum value.
| string | the string to convert |
| static QPoint KDChartEnums::positionFlagToPoint | ( | const QRect & | rect, | |
| PositionFlag | pos | |||
| ) | [static] |
Returns the point representing a position of a rectangle.
| static QPoint KDChartEnums::positionFlagToPoint | ( | const QPointArray & | points, | |
| PositionFlag | pos | |||
| ) | [inline, static] |
Returns the point representing a position of a corresponding QPointArray.
points must have at least nine elements. | static QString KDChartEnums::positionFlagToString | ( | PositionFlag | type | ) | [static] |
Converts the specified content position enum to a string representation.
| type | the content position to convert |
| static PositionFlag KDChartEnums::stringToPositionFlag | ( | const QString & | string | ) | [static] |
Converts the specified string to a content position enum value.
| string | the string to convert |
1.5.6