KDChartAxesPainter.h
Provide access to the chart axis parameters.
static TQString truncateBehindComma(const double nVal, const int behindComma, const double nDelta, int &trueBehindComma)
Takes double nVal and returns a TQString showing the amount of digits behind the comma that was speci...
Definition KDChartAxesPainter.cpp:3596
static void calculateBasicTextFactors(double nTxtHeight, const KDChartAxisParams ¶, double averageValueP1000, KDChartAxisParams::AxisPos basicPos, const TQPoint &orig, double delimLen, uint nLabels, double &pDelimDelta, double &pTextsX, double &pTextsY, double &pTextsW, double &pTextsH, int &textAlign)
Calculates some label text factors needed by function calculateLabelTexts().
Definition KDChartAxesPainter.cpp:3489
static void calculateLabelTexts(TQPainter *painter, const KDChartTableDataBase &data, const KDChartParams ¶ms, uint axisNumber, double averageValueP1000, double delimLen, KDChartAxisParams::AxisPos &basicPos, TQPoint &orig, TQPoint &dest, double &pXDeltaFactor, double &pYDeltaFactor, double &pXDelimDeltaFaktor, double &pYDelimDeltaFaktor, double &nSubDelimFactor, double &pDelimDelta, double &nTxtHeight, double &pTextsX, double &pTextsY, double &pTextsW, double &pTextsH, int &textAlign, bool &isLogarithmic, bool &isDateTime, bool &autoDtLabels, TQDateTime &dtLow, TQDateTime &dtHigh, KDChartAxisParams::ValueScale &dtDeltaScale, bool adjustTheValues=false, double trueDelta=0.0, double trueDeltaPix=0.0)
Calculates the actual label texts for one axis.
Definition KDChartAxesPainter.cpp:1967
virtual void paintData(TQPainter *painter, KDChartTableDataBase *data, bool paint2nd, KDChartDataRegionList *regions)
Paints the actual data area and registers the region for the data points if regions is not 0.
Definition KDChartAxesPainter.cpp:4330
virtual void paintAxes(TQPainter *painter, KDChartTableDataBase *data)
Paints the actual axes areas.
Definition KDChartAxesPainter.cpp:335
static void calculateOrdinateFactors(const KDChartAxisParams ¶, bool bLogarithmic, double &nDist, double &nDivisor, double &nRound, double &nDelta, double &nSubDelimFactor, double &nLow, double &nHigh, bool findNextRound=false)
Calculates the factors to be used for calculating ordinate labels texts.
Definition KDChartAxesPainter.cpp:3753
The collection class used by KD Chart to store data region information.
NumberNotation
Number notation specifies the general way, how a number is to be shown.
Definition KDChartEnums.h:108
KD Chart's build-in table data for an easy way of storing data values.
Definition KDChartTableBase.h:88
