https://issues.apache.org/ooo/show_bug.cgi?id=124069
--- Comment #12 from Andre <awf....@googlemail.com> --- Another data point on our way to a solution: As was observed earlier, the presence of the internal data provider in lcl_fillDateCategories (chart2/source/tools/ExplicitCategoriesProvider.cxx) leads to bIsDate being set to true for all values of the horizontal axis. But a little later there is this code (reformatted): DatePlusIndex aDatePlusIndex( 1.0, nN ); if( bIsDate && (aAny >>= aDatePlusIndex.fValue) ) rDateCategories.push_back( aDatePlusIndex ); else { if( aAny.hasValue() && !bContainsEmptyString )//empty string does not count as non date value! bOnlyDatesFound=false; ::rtl::math::setNan( &aDatePlusIndex.fValue ); rDateCategories.push_back( aDatePlusIndex ); } bDate only has an effect when the values in the label column (labels of the x axis) can be streamed into a variable of type double. And that reveals the big difference in the charts in the two bug docs. The chart in the Calc document interprets the values in the label column as numbers and streaming them into a double variable succeeds, while the chart in the Writer documents has its own internal data table, that declares the type of its labels as String. They can not be streamed into doubles and thus no conversion into dates. -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes.