Kaydet (Commit) d09bfe6b authored tarafından Markus Mohrhard's avatar Markus Mohrhard

tdf#96662, only use the crossBetween="midCat" for line and scatter chart

Change-Id: Id2be263daf2c5a9f2d69ed50b79ac029143f02ca
Reviewed-on: https://gerrit.libreoffice.org/29080Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst d9dca1ee
...@@ -2864,7 +2864,8 @@ void ChartExport::_exportAxis( ...@@ -2864,7 +2864,8 @@ void ChartExport::_exportAxis(
// category axis, so we ideally need an algorithm that decides // category axis, so we ideally need an algorithm that decides
// when to map the crossing to the tick mark and when to the // when to map the crossing to the tick mark and when to the
// middle of the category // middle of the category
if (nAxisType == XML_valAx) sal_Int32 nChartType = getChartType();
if (nAxisType == XML_valAx && (nChartType == chart::TYPEID_LINE || nChartType == chart::TYPEID_SCATTER))
{ {
pFS->singleElement( FSNS( XML_c, XML_crossBetween ), pFS->singleElement( FSNS( XML_c, XML_crossBetween ),
XML_val, "midCat", XML_val, "midCat",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment