diff options
author | Pallavi Jadhav <pallavi.jadhav@synerzip.com> | 2013-12-04 15:03:00 +0530 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-12-11 17:12:21 +0000 |
commit | e516f8be79ddc9d845d8141075f7d558c25c1636 (patch) | |
tree | 191046b38b4398fb2c9235ada13c968b2f5c4ad2 /chart2/qa/extras/data | |
parent | 784d3e2b49fb55bfc46723a99fd00d43f31e090a (diff) |
fdo#72226: Fix for Stock chart Invalid RT
Issue :
In chart1.xml,
<c:chart>
<c:plotArea>
<c:stockChart>
there are four types of series as Open,Low,High
and Close.
For Open series,
<c:ser>
<c:idx val="0" />
<c:order val="0" />
an attribute "val" should be 1 and not 0.
i.e. index should start from 1 and not from 0.
Implementation :
- In ChartExport::exportCandleStickSeries(),
Using idx variable, we are writing index value
which should be greater than 0. So for idx=0,
we are adding value 1 while writing index value.
- Added Unit tese case for chart export
Conflicts:
chart2/qa/extras/chart2export.cxx
Change-Id: I4d5ffefbc8fcf62b50c13ca1b3ed80290962fc4e
Reviewed-on: https://gerrit.libreoffice.org/6925
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'chart2/qa/extras/data')
-rw-r--r-- | chart2/qa/extras/data/docx/testStockChart.docx | bin | 0 -> 19894 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/chart2/qa/extras/data/docx/testStockChart.docx b/chart2/qa/extras/data/docx/testStockChart.docx Binary files differnew file mode 100644 index 000000000000..a804e7df2dcf --- /dev/null +++ b/chart2/qa/extras/data/docx/testStockChart.docx |