overlap is only valid for the 2D bar chart, related fdo#59857
Change-Id: Ie17ef54a2b2f2058cef97dacd9110a3065f76f68
This commit is contained in:
@@ -1156,7 +1156,7 @@ void ChartExport::exportBarChart( Reference< chart2::XChartType > xChartType )
|
|||||||
}
|
}
|
||||||
|
|
||||||
//overlap
|
//overlap
|
||||||
if( xTypeProp.is() && GetProperty( xTypeProp, "OverlapSequence") )
|
if( !mbIs3DChart && xTypeProp.is() && GetProperty( xTypeProp, "OverlapSequence") )
|
||||||
{
|
{
|
||||||
uno::Sequence< sal_Int32 > aBarPositionSequence;
|
uno::Sequence< sal_Int32 > aBarPositionSequence;
|
||||||
mAny >>= aBarPositionSequence;
|
mAny >>= aBarPositionSequence;
|
||||||
@@ -1169,18 +1169,6 @@ void ChartExport::exportBarChart( Reference< chart2::XChartType > xChartType )
|
|||||||
FSEND );
|
FSEND );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( xTypeProp.is() && GetProperty( xTypeProp, "GapwidthSequence") )
|
|
||||||
{
|
|
||||||
uno::Sequence< sal_Int32 > aBarPositionSequence;
|
|
||||||
mAny >>= aBarPositionSequence;
|
|
||||||
if( aBarPositionSequence.getLength() )
|
|
||||||
{
|
|
||||||
sal_Int32 nGapWidth = aBarPositionSequence[0];
|
|
||||||
pFS->singleElement( FSNS( XML_c, XML_gapWidth ),
|
|
||||||
XML_val, I32S( nGapWidth ),
|
|
||||||
FSEND );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
exportAxesId( nAttachedAxis );
|
exportAxesId( nAttachedAxis );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user