summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-13 15:11:51 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-10-13 19:45:28 -0400
commit139f0f44f58d6830f40b49e60994896eb92e46fc (patch)
tree09740407bd67c296ee62ac6e82661308e7b9c399 /chart2
parent410c5bd58c36d9064a79520d5bc31cb32ead1326 (diff)
Explain what doAutoScaling() does.
Change-Id: I15ca9ca0c3a22094f0a969adf2b3f1145d116052
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/ChartView.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 1ecbe06ec660..732d01e7af7a 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -248,6 +248,15 @@ public:
void initializeCooSysAndSeriesPlotter( ChartModel& rModel );
void initAxisUsageList(const Date& rNullDate);
+
+ /**
+ * Perform automatic axis scaling and determine the amount and spacing of
+ * increments. It assumes that the caller has determined the size of the
+ * largest axis label text object prior to calling this method.
+ *
+ * The new axis scaling data will be stored in the VCoordinateSystem
+ * objects.
+ */
void doAutoScaling( ChartModel& rModel );
void updateScalesAndIncrementsOnAxes();
void setScalesFromCooSysToPlotter();