LibreOffice Module chart2 (master) 1
Public Member Functions | Public Attributes | List of all members
chart::TickInfo Struct Reference

#include <Tickmarks.hxx>

Collaboration diagram for chart::TickInfo:
[legend]

Public Member Functions

 TickInfo ()=delete
 
 TickInfo (css::uno::Reference< css::chart2::XScaling > xInverse)
 
double getUnscaledTickValue () const
 Return a value associated with the tick mark. More...
 
sal_Int32 getScreenDistanceBetweenTicks (const TickInfo &rOherTickInfo) const
 

Public Attributes

double fScaledTickValue
 
css::uno::Reference< css::chart2::XScaling > xInverseScaling
 
rtl::Reference< SvxShapeTextxTextShape
 
OUString aText
 
::basegfx::B2DVector aTickScreenPosition
 
sal_Int32 nFactorForLimitedTextWidth
 
bool bPaintIt
 

Detailed Description

Definition at line 35 of file Tickmarks.hxx.

Constructor & Destructor Documentation

◆ TickInfo() [1/2]

chart::TickInfo::TickInfo ( )
delete

◆ TickInfo() [2/2]

chart::TickInfo::TickInfo ( css::uno::Reference< css::chart2::XScaling >  xInverse)
explicit

Member Function Documentation

◆ getScreenDistanceBetweenTicks()

sal_Int32 chart::TickInfo::getScreenDistanceBetweenTicks ( const TickInfo rOherTickInfo) const

Definition at line 51 of file Tickmarks.cxx.

References aDistance, and aTickScreenPosition.

Referenced by chart::TickFactory2D::getTickScreenDistance().

◆ getUnscaledTickValue()

double chart::TickInfo::getUnscaledTickValue ( ) const

Return a value associated with the tick mark.

It's normally an original value from the data source, or 1-based integer index in case the axis is a category axis.

Definition at line 43 of file Tickmarks.cxx.

Referenced by chart::getTextLabelString().

Member Data Documentation

◆ aText

OUString chart::TickInfo::aText

◆ aTickScreenPosition

::basegfx::B2DVector chart::TickInfo::aTickScreenPosition

◆ bPaintIt

bool chart::TickInfo::bPaintIt

Definition at line 43 of file Tickmarks.hxx.

Referenced by chart::lcl_hideIdenticalScreenValues().

◆ fScaledTickValue

double chart::TickInfo::fScaledTickValue

◆ nFactorForLimitedTextWidth

sal_Int32 chart::TickInfo::nFactorForLimitedTextWidth

◆ xInverseScaling

css::uno::Reference<css::chart2::XScaling> chart::TickInfo::xInverseScaling

Definition at line 38 of file Tickmarks.hxx.

◆ xTextShape

rtl::Reference<SvxShapeText> chart::TickInfo::xTextShape

The documentation for this struct was generated from the following files: