47 : GenericDialogController(pParent,
"modules/schart/ui/dlg_InsertErrorBars.ui",
"dlg_InsertErrorBars")
49 m_xBuilder.
get(), this, rMyAttrs,
72 std::u16string_view rSelectedObjectCID )
74 double fStepWidth = 0.001;
76 ExplicitValueProvider* pExplicitValueProvider( xChartView.get() );
77 if( pExplicitValueProvider )
88 pExplicitValueProvider->getExplicitValuesForAxis( xAxis,aExplicitScale, aExplicitIncrement );
90 fStepWidth = aExplicitIncrement.
Distance;
92 fStepWidth=fStepWidth/double(aExplicitIncrement.
SubIncrements[0].IntervalCount);
static rtl::Reference< ::chart::Axis > getAxis(sal_Int32 nDimensionIndex, bool bMainAxis, const rtl::Reference< ::chart::Diagram > &xDiagram)
void SetAxisMinorStepWidthForErrorBarDecimals(double fMinorStepWidth)
void FillItemSet(SfxItemSet &rOutAttrs)
static double getAxisMinorStepWidthForErrorBarDecimals(const rtl::Reference<::chart::ChartModel > &xChartModel, const rtl::Reference<::chart::ChartView > &xChartView, std::u16string_view rSelectedObjectCID)
std::unique_ptr< ErrorBarResources > m_apErrorBarResources
InsertErrorBarsDialog(weld::Window *pParent, const SfxItemSet &rMyAttrs, const rtl::Reference<::chart::ChartModel > &xChartDocument, ErrorBarResources::tErrorBarType eType)
static rtl::Reference< ::chart::DataSeries > getDataSeriesForCID(std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel)
static OUString getName_ObjectForAllSeries(ObjectType eObjectType)
std::shared_ptr< weld::Dialog > m_xDialog
@ OBJECTTYPE_DATA_ERRORS_X
@ OBJECTTYPE_DATA_ERRORS_Y
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
describes how tickmarks are positioned on the scale of an axis.
std::vector< ExplicitSubIncrement > SubIncrements
<member>SubIncrements</member> describes the positioning of further sub tickmarks on the scale of an ...
double Distance
the other members are for not date-time axis
This structure contains the explicit values for a scale like Minimum and Maximum.