Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KDChartParams Class Reference

#include <KDChartParams.h>

Inheritance diagram for KDChartParams:

QObject Collaboration diagram for KDChartParams:

Collaboration graph
[legend]
List of all members.

Public Types

typedef QIntDict< KDChartCustomBoxCustomBoxDict
typedef QMap< uint, LineMarkerStyleLineMarkerStyleMap
typedef QMap< uint, PolarMarkerStylePolarMarkerStyleMap
typedef QMap< int, double > ExplodeFactorsMap
typedef QArray< uint > AxesArray
enum  ChartType {
  NoType, Bar, Line, Area,
  Pie, HiLo, Ring, Polar,
  BoxWhisker
}
enum  SourceMode {
  UnknownMode = 0, DontUse = 1, DataEntry = 2, AxisLabel = 3,
  LegendText = 4, ExtraLinesAnchor = 5, Last_SourceMode = ExtraLinesAnchor
}
enum  BarChartSubType { BarNormal, BarStacked, BarPercent, BarMultiRows }
enum  LineChartSubType { LineNormal, LineStacked, LinePercent }
enum  LineMarkerStyle {
  LineMarkerCircle = 0, LineMarkerSquare = 1, LineMarkerDiamond = 2, LineMarker1Pixel = 3,
  LineMarker4Pixels = 4, LineMarkerRing = 5, LineMarkerCross = 6, LineMarkerFastCross = 7
}
enum  AreaChartSubType { AreaNormal, AreaStacked, AreaPercent }
enum  AreaLocation { AreaAbove, AreaBelow }
enum  PolarChartSubType { PolarNormal, PolarStacked, PolarPercent }
enum  PolarMarkerStyle {
  PolarMarkerCircle = 0, PolarMarkerSquare = 1, PolarMarkerDiamond = 2, PolarMarker1Pixel = 3,
  PolarMarker4Pixels = 4, PolarMarkerRing = 5, PolarMarkerCross = 6
}
enum  HiLoChartSubType { HiLoNormal, HiLoSimple = HiLoNormal, HiLoClose, HiLoOpenClose }
enum  BWChartSubType { BWNormal, BWSimple = BWNormal }
enum  BWStatVal {
  BWStatValSTART, UpperOuterFence = BWStatValSTART, UpperInnerFence, Quartile3,
  Median, Quartile1, LowerInnerFence, LowerOuterFence,
  MaxValue, MeanValue, MinValue, BWStatValEND = MinValue,
  BWStatValOffEndValue, BWStatValALL, BWStatValUNKNOWN
}
enum  LegendPosition {
  NoLegend, LegendTop, LegendBottom, LegendLeft,
  LegendRight, LegendTopLeft, LegendTopLeftTop, LegendTopLeftLeft,
  LegendTopRight, LegendTopRightTop, LegendTopRightRight, LegendBottomLeft,
  LegendBottomLeftBottom, LegendBottomLeftLeft, LegendBottomRight, LegendBottomRightBottom,
  LegendBottomRightRight
}
enum  LegendSource { LegendManual, LegendFirstColumn, LegendAutomatic }
enum  HdFtPos {
  HdFtPosSTART = 0, HdFtPosHeadersSTART = 0, HdFtPosHeaders0START = 0, HdFtPosHeader0 = 0,
  HdFtPosHeader0L = 1, HdFtPosHeader0R = 2, HdFtPosHeaders0END = 2, HdFtPosHeaders1START = 3,
  HdFtPosHeader = 3, HdFtPosHeaderL = 4, HdFtPosHeaderR = 5, HdFtPosHeaders1END = 5,
  HdFtPosHeaders2START = 6, HdFtPosHeader2 = 6, HdFtPosHeader2L = 7, HdFtPosHeader2R = 8,
  HdFtPosHeaders2END = 8, HdFtPosHeadersEND = 8, HdFtPosFootersSTART = 9, HdFtPosFooters1START = 9,
  HdFtPosFooter = 9, HdFtPosFooterL = 10, HdFtPosFooterR = 11, HdFtPosFooters1END = 11,
  HdFtPosFooters2START = 12, HdFtPosFooter2 = 12, HdFtPosFooter2L = 13, HdFtPosFooter2R = 14,
  HdFtPosFooters2END = 14, HdFtPosFooters0START = 15, HdFtPosFooter0 = 15, HdFtPosFooter0L = 16,
  HdFtPosFooter0R = 17, HdFtPosFooters0END = 17, HdFtPosFootersEND = 17, HdFtPosEND = 17
}

Public Slots

void setOptimizeOutputForScreen (bool screenOutput)
bool optimizeOutputForScreen () const
void setGlobalLeading (int left, int top, int right, int bottom)
void setGlobalLeadingLeft (int leading)
void setGlobalLeadingTop (int leading)
void setGlobalLeadingRight (int leading)
void setGlobalLeadingBottom (int leading)
int globalLeadingLeft () const
int globalLeadingTop () const
int globalLeadingRight () const
int globalLeadingBottom () const
int registerProperties (KDChartPropertySet &rSet)
void setProperties (int id, KDChartPropertySet &rSet)
bool removeProperties (int id)
bool properties (int id, KDChartPropertySet &rSet) const
KDChartPropertySetproperties (int id)
bool calculateProperties (int startId, KDChartPropertySet &rSet) const
void setFrame (uint area, const KDFrame &frame, int outerGapX, int outerGapY, int innerGapX, int innerGapY, bool addFrameWidthToLayout=true, bool addFrameHeightToLayout=true)
void setSimpleFrame (uint area, int outerGapX=0, int outerGapY=0, int innerGapX=0, int innerGapY=0, bool addFrameWidthToLayout=true, bool addFrameHeightToLayout=true, KDFrame::SimpleFrame simpleFrame=KDFrame::FrameFlat, int lineWidth=1, int midLineWidth=0, QPen pen=QPen(), QBrush background=QBrush(Qt::NoBrush), const QPixmap *backPixmap=0, KDFrame::BackPixmapMode backPixmapMode=KDFrame::PixStretched, int shadowWidth=0, KDFrame::CornerName sunPos=KDFrame::CornerTopLeft)
bool removeFrame (uint area)
void setDataRegionFrame (uint dataRow, uint dataCol, uint, int innerGapX=0, int innerGapY=0, bool addFrameWidthToLayout=true, bool addFrameHeightToLayout=true, KDFrame::SimpleFrame simpleFrame=KDFrame::FrameFlat, int lineWidth=1, int midLineWidth=0, QPen pen=QPen(), int shadowWidth=0, KDFrame::CornerName sunPos=KDFrame::CornerTopLeft)
bool moveDataRegionFrame (uint oldDataRow, uint oldDataCol, uint, uint newDataRow, uint newDataCol, uint)
const KDChartFrameSettingsframeSettings (uint area, bool &bFound, int *pIterIdx=0) const
const KDChartFrameSettingsnextFrameSettings (bool &bFound, int *pIterIdx) const
uint insertCustomBox (const KDChartCustomBox &box)
bool removeCustomBox (const uint &idx)
void removeAllCustomBoxes ()
KDChartCustomBoxcustomBoxRef (uint box)
const KDChartCustomBoxcustomBox (uint box) const
uint maxCustomBoxIdx () const
void setChartType (ChartType chartType)
ChartType chartType () const
static QString chartTypeToString (ChartType type)
static ChartType stringToChartType (const QString &string)
void setAdditionalChartType (ChartType chartType)
ChartType additionalChartType () const
void setChartSourceMode (SourceMode mode, uint dataset, uint dataset2=KDCHART_NO_DATASET, uint chart=0)
static QString chartSourceModeToString (const SourceMode &mode)
static SourceMode stringToChartSourceMode (const QString &string)
bool neverUsedSetChartSourceMode () const
SourceMode chartSourceMode (uint dataset, uint dataset2=KDCHART_NO_DATASET, uint *chart=0) const
bool findDataset (SourceMode mode, uint &dataset, uint &dataset2, uint chart=0) const
bool findDatasets (SourceMode mode1, SourceMode mode2, uint &dataset, uint &dataset2, uint chart=0) const
uint maxDatasetSourceMode () const
void setDefaultAxesTypes ()
void activateDefaultAxes ()
void setNumValues (uint numValues)
int numValues () const
void calculateShadowColors (QColor color, QColor &shadow1, QColor &shadow2) const
void setDataColor (uint dataset, QColor color)
QColor dataColor (uint dataset) const
void setDataDefaultColors ()
void setDataRainbowColors ()
void setDataSubduedColors (bool ordered=false)
void setShadowBrightnessFactor (double factor)
double shadowBrightnessFactor () const
void setShadowPattern (BrushStyle style)
Qt::BrushStyle shadowPattern () const
void setOutlineDataColor (QColor color)
QColor outlineDataColor () const
void setOutlineDataLineWidth (uint width)
uint outlineDataLineWidth () const
void setOutlineDataLineStyle (PenStyle style)
PenStyle outlineDataLineStyle () const
uint maxDataColor () const
void setThreeDShadowColors (bool shadow)
bool threeDShadowColors () const
static int roundVal (double d)
void setPrintDataValues (bool active, uint chart=KDCHART_ALL_CHARTS, int divPow10=0, int digitsBehindComma=KDCHART_DATA_VALUE_AUTO_DIGITS, QFont *font=0, uint size=UINT_MAX, const QColor *color=KDCHART_DATA_VALUE_AUTO_COLOR, KDChartEnums::PositionFlag negativePosition=KDChartEnums::PosCenter, uint negativeAlign=Qt::AlignCenter, int negativeDeltaX=0, int negativeDeltaY=0, int negativeRotation=0, KDChartEnums::PositionFlag positivePosition=KDChartEnums::PosCenter, uint positiveAlign=Qt::AlignCenter, int positiveDeltaX=0, int positiveDeltaY=0, int positiveRotation=0, KDChartEnums::TextLayoutPolicy policy=KDChartEnums::LayoutPolicyRotate)
void setDataValuesCalc (int divPow10=0, int digitsBehindComma=KDCHART_DATA_VALUE_AUTO_DIGITS, uint chart=KDCHART_ALL_CHARTS)
void setDataValuesFont (QFont *font, uint size=UINT_MAX, uint chart=KDCHART_ALL_CHARTS)
void setDataValuesPlacing (KDChartEnums::PositionFlag position, uint align, int deltaX, int deltaY, int rotation, bool specifyingPositiveValues=true, uint chart=KDCHART_ALL_CHARTS)
void setDataValuesColors (const QColor *color=KDCHART_DATA_VALUE_AUTO_COLOR, const QBrush &background=Qt::NoBrush, uint chart=KDCHART_ALL_CHARTS)
void setDataValuesPolicy (KDChartEnums::TextLayoutPolicy policy=KDChartEnums::LayoutPolicyRotate, uint chart=KDCHART_ALL_CHARTS)
void setDataValuesShowInfinite (bool dataValuesShowInfinite=true, uint chart=KDCHART_ALL_CHARTS)
void setPrintDataValuesWithDefaultFontParams (uint chart=KDCHART_ALL_CHARTS, bool callSetPrintDataValues=true)
void setAllowOverlappingDataValueTexts (bool allow)
bool allowOverlappingDataValueTexts () const
bool printDataValuesWithDefaultFontParams (uint chart) const
bool printDataValues (uint chart) const
int dataValuesDivPow10 (uint chart) const
int dataValuesDigitsBehindComma (uint chart) const
QFont dataValuesFont (uint chart) const
bool dataValuesUseFontRelSize (uint chart) const
int dataValuesFontRelSize (uint chart) const
QColor dataValuesColor (uint chart) const
QBrush dataValuesBackground (uint chart) const
bool dataValuesAutoColor (uint chart) const
KDChartEnums::PositionFlag dataValuesAnchorPosition (uint chart, bool negative) const
uint dataValuesAnchorAlign (uint chart, bool negative) const
int dataValuesAnchorDeltaX (uint chart, bool negative) const
int dataValuesAnchorDeltaY (uint chart, bool negative) const
int dataValuesRotation (uint chart, bool negative) const
KDChartEnums::TextLayoutPolicy dataValuesLayoutPolicy (uint chart) const
bool dataValuesShowInfinite (uint chart) const
void setPrintDataValuesColor (uint chart=KDCHART_ALL_CHARTS, const QColor *color=KDCHART_DATA_VALUE_AUTO_COLOR)
void setPrintDataValuesFontRelSize (uint chart, uint size)
static QString markerStyleToString (int style)
static QString markerStyleToStringTr (int style)
static int stringToMarkerStyle (const QString &string)
static int stringToMarkerStyleTr (const QString &string)
void setBarChartSubType (BarChartSubType barChartSubType)
BarChartSubType barChartSubType () const
static QString barChartSubTypeToString (BarChartSubType type)
static BarChartSubType stringToBarChartSubType (const QString &string)
void setThreeDBars (bool threeDBars)
bool threeDBars () const
void setThreeDBarsShadowColors (bool shadow)
bool threeDBarsShadowColors () const
QColor dataShadow1Color (uint dataset) const
QColor dataShadow2Color (uint dataset) const
void setThreeDBarAngle (uint angle)
uint threeDBarAngle () const
double cosThreeDBarAngle () const
void setThreeDBarDepth (double depth)
double threeDBarDepth () const
void setDatasetGap (int gap)
int datasetGap () const
void setDatasetGapIsRelative (bool gapIsRelative)
bool datasetGapIsRelative () const
void setValueBlockGap (int gap)
int valueBlockGap () const
void setValueBlockGapIsRelative (bool gapIsRelative)
bool valueBlockGapIsRelative () const
void setBarWidth (int width=KDCHART_AUTO_SIZE)
int barWidth () const
int userWidth () const
int numBarsDisplayed () const
int numBarsLeft () const
void setDrawSolidExcessArrows (bool solidArrows)
bool drawSolidExcessArrows () const
void setLineChartSubType (LineChartSubType lineChartSubType)
LineChartSubType lineChartSubType () const
static LineChartSubType stringToLineChartSubType (const QString &string)
static QString lineChartSubTypeToString (LineChartSubType type)
void setLineMarker (bool marker)
bool lineMarker () const
void setLineMarkerStyle (uint dataset, LineMarkerStyle style)
void setLineMarkerStyles (LineMarkerStyleMap map)
LineMarkerStyle lineMarkerStyle (uint dataset) const
static QString lineMarkerStyleToString (LineMarkerStyle style)
static QString lineMarkerStyleToStringTr (LineMarkerStyle style)
static LineMarkerStyle stringToLineMarkerStyle (const QString &string)
static LineMarkerStyle stringToLineMarkerStyleTr (const QString &string)
LineMarkerStyleMap lineMarkerStyles () const
uint maxDatasetLineMarkerStyle () const
void setLineMarkerSize (QSize size)
QSize lineMarkerSize () const
void setLineWidth (int width)
int lineWidth () const
void setLineColor (QColor color=QColor())
QColor lineColor () const
void setLineStyle (PenStyle style, uint dataset=KDCHART_GLOBAL_LINE_STYLE)
PenStyle lineStyle (uint dataset=KDCHART_GLOBAL_LINE_STYLE) const
void setThreeDLines (bool threeD)
bool threeDLines () const
void setThreeDLineDepth (int depth)
int threeDLineDepth () const
void setThreeDLineXRotation (int degrees)
int threeDLineXRotation () const
void setThreeDLineYRotation (int degrees)
int threeDLineYRotation () const
void setAreaChartSubType (AreaChartSubType areaChartSubType)
AreaChartSubType areaChartSubType () const
static QString areaChartSubTypeToString (AreaChartSubType type)
static AreaChartSubType stringToAreaChartSubType (const QString &string)
void setAreaLocation (AreaLocation location)
AreaLocation areaLocation () const
static QString areaLocationToString (AreaLocation type)
static AreaLocation stringToAreaLocation (const QString &string)
void setPolarChartSubType (PolarChartSubType polarChartSubType)
PolarChartSubType polarChartSubType () const
static PolarChartSubType stringToPolarChartSubType (const QString &string)
static QString polarChartSubTypeToString (PolarChartSubType type)
void setPolarMarker (bool marker)
bool polarMarker () const
void setPolarMarkerStyle (uint dataset, PolarMarkerStyle style)
PolarMarkerStyle polarMarkerStyle (uint dataset) const
static QString polarMarkerStyleToString (PolarMarkerStyle style)
static QString polarMarkerStyleToStringTr (PolarMarkerStyle style)
static PolarMarkerStyle stringToPolarMarkerStyle (const QString &string)
static PolarMarkerStyle stringToPolarMarkerStyleTr (const QString &string)
void setPolarMarkerStyles (PolarMarkerStyleMap map)
PolarMarkerStyleMap polarMarkerStyles () const
uint maxDatasetPolarMarkerStyle () const
void setPolarMarkerSize (QSize size=QSize(-40,-40))
QSize polarMarkerSize () const
void setPolarLineWidth (int width=-3)
int polarLineWidth () const
void setPolarZeroDegreePos (int degrees)
int polarZeroDegreePos () const
void setPolarRotateCircularLabels (bool rotateCircularLabels)
bool polarRotateCircularLabels () const
void setPolarDelimsAndLabelsAtPos (KDChartEnums::PositionFlag pos, bool showDelimiters, bool showLabels)
bool polarDelimAtPos (KDChartEnums::PositionFlag pos) const
bool polarLabelsAtPos (KDChartEnums::PositionFlag pos) const
void setExplode (bool explode)
bool explode () const
void setExplodeValues (QValueList< int > explodeList)
QValueList< int > explodeValues () const
void setExplodeFactors (ExplodeFactorsMap factors)
ExplodeFactorsMap explodeFactors () const
void setExplodeFactor (double factor)
double explodeFactor () const
void setThreeDPies (bool threeDPies)
bool threeDPies () const
void setThreeDPieHeight (int pixels)
int threeDPieHeight () const
void setPieStart (int degrees)
int pieStart () const
void setRingStart (int degrees)
int ringStart () const
void setRelativeRingThickness (bool relativeThickness)
bool relativeRingThickness () const
void setHiLoChartSubType (HiLoChartSubType hiLoChartSubType)
HiLoChartSubType hiLoChartSubType () const
static QString hiLoChartSubTypeToString (HiLoChartSubType type)
static HiLoChartSubType stringToHiLoChartSubType (const QString &string)
void setHiLoChartPrintLowValues (bool active, QFont *font=0, int size=14, QColor *color=0)
bool hiLoChartPrintLowValues () const
QFont hiLoChartLowValuesFont () const
bool hiLoChartLowValuesUseFontRelSize () const
int hiLoChartLowValuesFontRelSize () const
QColor hiLoChartLowValuesColor () const
void setHiLoChartPrintHighValues (bool active, QFont *font=0, int size=14, QColor *color=0)
bool hiLoChartPrintHighValues () const
QFont hiLoChartHighValuesFont () const
bool hiLoChartHighValuesUseFontRelSize () const
int hiLoChartHighValuesFontRelSize () const
QColor hiLoChartHighValuesColor () const
void setHiLoChartPrintOpenValues (bool active, QFont *font=0, uint size=14, QColor *color=0)
bool hiLoChartPrintOpenValues () const
QFont hiLoChartOpenValuesFont () const
bool hiLoChartOpenValuesUseFontRelSize () const
int hiLoChartOpenValuesFontRelSize () const
QColor hiLoChartOpenValuesColor () const
void setHiLoChartPrintCloseValues (bool active, QFont *font=0, int size=14, QColor *color=0)
bool hiLoChartPrintCloseValues () const
QFont hiLoChartCloseValuesFont () const
bool hiLoChartCloseValuesUseFontRelSize () const
int hiLoChartCloseValuesFontRelSize () const
QColor hiLoChartCloseValuesColor () const
void setHiLoChartPrintFirstValues (bool active, QFont *font=0, uint size=14, QColor *color=0)
bool hiLoChartPrintFirstValues () const
QFont hiLoChartFirstValuesFont () const
bool hiLoChartFirstValuesUseFontRelSize () const
int hiLoChartFirstValuesFontRelSize () const
QColor hiLoChartFirstValuesColor () const
void setHiLoChartPrintLastValues (bool active, QFont *font=0, int size=14, QColor *color=0)
bool hiLoChartPrintLastValues () const
QFont hiLoChartLastValuesFont () const
bool hiLoChartLastValuesUseFontRelSize () const
int hiLoChartLastValuesFontRelSize () const
QColor hiLoChartLastValuesColor () const
void setBWChartSubType (BWChartSubType bWChartSubType)
BWChartSubType bWChartSubType () const
static QString bWChartSubTypeToString (BWChartSubType type)
static BWChartSubType stringToBWChartSubType (const QString &string)
static QString bWChartStatValToString (BWStatVal type)
static BWStatVal stringToBWChartStatVal (const QString &string)
void setBWChartFences (double upperInner, double lowerInner, double upperOuter, double lowerOuter)
void bWChartFences (double &upperInner, double &lowerInner, double &upperOuter, double &lowerOuter) const
void setBWChartBrush (const QBrush &bWChartBrush)
QBrush bWChartBrush () const
void setBWChartOutValMarkerSize (int size)
int bWChartOutValMarkerSize () const
void setBWChartPrintStatistics (BWStatVal statValue, bool active, QFont *font=0, int size=24, QColor *color=0, QBrush *brush=0)
bool bWChartPrintStatistics (BWStatVal statValue) const
QFont bWChartStatisticsFont (BWStatVal statValue) const
bool bWChartStatisticsUseRelSize (BWStatVal statValue) const
int bWChartStatisticsFontRelSize (BWStatVal statValue) const
QColor bWChartStatisticsColor (BWStatVal statValue) const
QBrush bWChartStatisticsBrush (BWStatVal statValue) const
void setLegendPosition (LegendPosition position)
LegendPosition legendPosition () const
void setLegendOrientation (Orientation orientation)
Orientation legendOrientation () const
void setLegendShowLines (bool legendShowLines)
bool legendShowLines () const
static QString legendPositionToString (LegendPosition pos)
static LegendPosition stringToLegendPosition (const QString &string)
void setLegendSource (LegendSource source)
LegendSource legendSource () const
static QString legendSourceToString (LegendSource source)
static LegendSource stringToLegendSource (const QString &string)
void setLegendText (uint dataset, const QString &text)
QString legendText (uint dataset) const
void setLegendTextColor (const QColor &color)
QColor legendTextColor () const
void setLegendFont (const QFont &font, bool useFontSize)
QFont legendFont () const
void setLegendFontUseRelSize (bool legendFontUseRelSize)
bool legendFontUseRelSize () const
void setLegendFontRelSize (int legendFontRelSize)
int legendFontRelSize () const
void setLegendTitleText (const QString &text)
QString legendTitleText () const
void setLegendTitleTextColor (const QColor &color)
QColor legendTitleTextColor () const
void setLegendTitleFont (const QFont &font, bool useFontSize)
QFont legendTitleFont () const
void setLegendTitleFontUseRelSize (bool legendTitleFontUseRelSize)
bool legendTitleFontUseRelSize () const
void setLegendTitleFontRelSize (int legendTitleFontRelSize)
int legendTitleFontRelSize () const
void setLegendSpacing (uint space)
uint legendSpacing () const
void setAxisType (uint n, const KDChartAxisParams::AxisType axisType)
void setAxisVisible (uint n, const bool axisVisible)
bool axisVisible (uint n) const
void setAxisShowGrid (uint n, bool axisShowGrid)
bool showGrid () const
void setAxisDatasets (uint n, uint dataset, uint dataset2=KDCHART_NO_DATASET, uint chart=0)
bool axisDatasets (uint n, uint &dataset, uint &dataset2, uint &chart) const
bool chartAxes (uint chart, uint &cnt, AxesArray &axes) const
void setAxisArea (const uint n, const QRect &areaRect)
void setAxisLabelsTouchEdges (uint n, bool axisLabelsTouchEdges)
void setAxisLabelsVisible (uint n, bool axisLabelsVisible)
void setAxisLabelsFont (uint n, QFont axisLabelsFont, int axisLabelsFontSize=0, QColor axisLabelsColor=Qt::black)
void setAxisLabelTextParams (uint n, bool axisSteadyValueCalc=true, QVariant axisValueStart=KDCHART_AXIS_LABELS_AUTO_LIMIT, QVariant axisValueEnd=KDCHART_AXIS_LABELS_AUTO_LIMIT, double axisValueDelta=KDCHART_AXIS_LABELS_AUTO_DELTA, int axisDigitsBehindComma=KDCHART_AXIS_LABELS_AUTO_DIGITS, int axisMaxEmptyInnerSpan=67, KDChartAxisParams::LabelsFromDataRow takeLabelsFromDataRow=KDChartAxisParams::LabelsFromDataRowNo, int labelTextsDataRow=0, QStringList *axisLabelStringList=0, QStringList *axisShortLabelsStringList=0, int axisValueLeaveOut=KDCHART_AXIS_LABELS_AUTO_LEAVEOUT, KDChartAxisParams::ValueScale axisValueDeltaScale=KDChartAxisParams::ValueScaleNumerical)
void setAxisLabelStringParams (uint n, QStringList *axisLabelStringList, QStringList *axisShortLabelStringList, const QString &valueStart=QString::null, const QString &valueEnd=QString::null)
void setAxisParams (uint n, const KDChartAxisParams &axisParams)
const KDChartAxisParamsaxisParams (uint n) const
bool findFirstAxisCustomBoxID (uint n, uint &boxID) const
void setAxisTitle (uint n, const QString &axisTitle)
QString axisTitle (uint n) const
void setAxisTitleColor (uint n, QColor axisTitleColor)
QColor axisTitleColor (uint n) const
void setAxisTitleFont (uint n, QFont axisTitleFont)
void setAxisTitleFont (uint n, QFont axisTitleFont, bool useFixedFontSize)
QFont axisTitleFont (uint n) const
void setAxisTitleFontUseRelSize (uint n, bool useRelSize)
bool axisTitleFontUseRelSize (uint n) const
void setAxisTitleFontRelSize (uint n, int axisTitleFontRelSize)
int axisTitleFontRelSize (uint n) const
QRect axisArea (const uint n) const
QRect dataArea () const
QRect legendArea () const
void setHeaderFooterText (uint pos, const QString &text)
QString headerFooterText (uint pos) const
const QRect & headerFooterRect (uint pos) const
void setHeaderFooterColor (uint pos, const QColor color)
QColor headerFooterColor (uint pos) const
void setHeaderFooterFont (uint pos, const QFont &font, bool fontUseRelSize, int fontRelSize)
QFont headerFooterFont (uint pos) const
bool headerFooterFontUseRelSize (uint pos) const
int headerFooterFontRelSize (uint pos) const
void setHeader1Text (const QString &text)
QString header1Text () const
void setHeader1Font (const QFont &font)
QFont header1Font () const
void setHeader2Text (const QString &text)
QString header2Text () const
void setHeader2Font (const QFont &font)
QFont header2Font () const
void setFooterText (const QString &text)
QString footerText () const
void setFooterFont (const QFont &font)
QFont footerFont () const
void __internalStoreHdFtRect (int pos, QRect rect)
void loadAxesFormXML (int &curAxisSettings, QDomElement &element)
bool loadXML (const QDomDocument &doc)
void saveAxesToXML (QDomDocument &doc, QDomElement &docRoot) const
QDomDocument saveXML (bool withPI=true) const
static void createChartValueNode (QDomDocument &doc, QDomNode &parent, const QString &elementName, const QVariant &valY, const QVariant &valX, const int &propID)
static void createColorMapNode (QDomDocument &doc, QDomNode &parent, const QString &elementName, const QMap< uint, QColor > &map)
static void createDoubleMapNode (QDomDocument &doc, QDomNode &parent, const QString &elementName, const QMap< int, double > &map)
static void createChartFontNode (QDomDocument &doc, QDomNode &parent, const QString &elementName, const QFont &font, bool useRelFont, int relFont, int minFont=-1)
static bool readColorMapNode (const QDomElement &element, QMap< uint, QColor > *map)
static bool readDoubleMapNode (const QDomElement &element, QMap< int, double > *map)
static bool readChartFontNode (const QDomElement &element, QFont &font, bool &useRelFont, int &relFontSize, int *minFontSize=0)
static bool readChartValueNode (const QDomElement &element, QVariant &valY, QVariant &valX, int &propID)
void setDataArea (const QRect &areaRect)
void setLegendArea (const QRect &areaRect)

Signals

void changed ()

Public Member Functions

 KDChartParams ()
virtual ~KDChartParams ()

Protected Member Functions

void setBarsDisplayed (int barsDisplayed)
void setBarsLeft (int barsLeft)

Private Types

typedef QDict< KDChartFrameSettingsAreaDict
typedef QMap< uint, ModeAndChartModeAndChartMap
typedef QMap< uint, PenStyle > LineStyleMap

Private Member Functions

QString dataRegionFrameAreaName (uint dataRow, uint dataCol, uint data3rd)
void recomputeShadowColors ()
void insertDefaultAxisTitleBox (uint n, bool setTitle, const QString &axisTitle, bool setColor, const QColor &axisTitleColor, bool setFont, const QFont &axisTitleFont, bool setFontUseRel, bool useFontSize, bool setFontRelSize, int axisTitleFontRelSize)

Private Attributes

KDChartPropertySettempPropSetA
KDChartPropertySettempPropSetB
bool _optimizeOutputForScreen
int _globalLeadingLeft
int _globalLeadingTop
int _globalLeadingRight
int _globalLeadingBottom
ChartType _chartType
ChartType _additionalChartType
int _numValues
QFont _defaultFont
AreaDict _areaDict
CustomBoxDict _customBoxDict
bool _customBoxDictMayContainHoles
QRect _noRect
KDFrame _noFrame
KDChartFrameSettings _noFrameSettings
ModeAndChartMap _dataSourceModeAndChart
bool _setChartSourceModeWasUsed
QMap< uint, QColor > _dataColors
uint _maxDatasetSourceMode
KDChartPropertySetList _propertySetList
double _shadowBrightnessFactor
Qt::BrushStyle _shadowPattern
bool _threeDShadowColors
uint _maxDatasetColor
QMap< uint, QColor > _dataColorsShadow1
QMap< uint, QColor > _dataColorsShadow2
QColor _outlineDataColor
uint _outlineDataLineWidth
PenStyle _outlineDataLineStyle
PrintDataValuesSettings _printDataValuesSettings
PrintDataValuesSettings _printDataValuesSettings2
bool _allowOverlappingDataValueTexts
BarChartSubType _barChartSubType
bool _threeDBars
int _threeDBarAngle
double _threeDBarDepth
double _cosThreeDBarAngle
int _datasetGap
bool _datasetGapIsRelative
int _valueBlockGap
bool _valueBlockGapIsRelative
int _barWidth
int _userWidth
bool _solidExcessArrows
QRect _dataAreaRect
QRect _legendAreaRect
int _barsDisplayed
int _barsLeft
LineChartSubType _lineChartSubType
bool _threeDLines
int _threeDLineDepth
int _threeDLineXRotation
int _threeDLineYRotation
bool _lineMarker
LineMarkerStyleMap _lineMarkerStyles
uint _maxDatasetLineMarkerStyle
QSize _lineMarkerSize
QColor _lineColor
int _lineWidth
PenStyle _lineStyle
LineStyleMap _datasetLineStyles
AreaChartSubType _areaChartSubType
AreaLocation _areaLocation
PolarChartSubType _polarChartSubType
bool _polarMarker
PolarMarkerStyleMap _polarMarkerStyles
uint _maxDatasetPolarMarkerStyle
QSize _polarMarkerSize
int _polarLineWidth
int _polarZeroDegreePos
bool _polarRotateCircularLabels