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

not every PieChart uses VaryColorsByPoint

Change-Id: Ia2d30c185ecf45335c0ec00ad24bb9c117bb8aef
üst 7438087a
...@@ -638,7 +638,7 @@ Reference< XDataSeries > SeriesConverter::createDataSeries( const TypeGroupConve ...@@ -638,7 +638,7 @@ Reference< XDataSeries > SeriesConverter::createDataSeries( const TypeGroupConve
// set the (unused) property default value used by the Chart2 templates (true for pie/doughnut charts) // set the (unused) property default value used by the Chart2 templates (true for pie/doughnut charts)
bool bIsPie = rTypeInfo.meTypeCategory == TYPECATEGORY_PIE; bool bIsPie = rTypeInfo.meTypeCategory == TYPECATEGORY_PIE;
aSeriesProp.setProperty( PROP_VaryColorsByPoint, bIsPie ); aSeriesProp.setProperty( PROP_VaryColorsByPoint, bVaryColorsByPoint );
// own area formatting for every data point (TODO: varying line color not supported) // own area formatting for every data point (TODO: varying line color not supported)
// #i91271# always set area formatting for every point in pie/doughnut charts to override their automatic point formatting // #i91271# always set area formatting for every point in pie/doughnut charts to override their automatic point formatting
......
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