Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: chart ::
interface XChartData
Description manages the data of the chart. See also XChartDocument Developers Guide Charts - Data Access

Methods' Summary
addChartDataChangeEventListener | allows a component supporting the XChartDataChangeEventListener interface to register as listener. The component will be notified with a ChartDataChangeEvent every time the chart's data changes.
removeChartDataChangeEventListener | removes a previously registered listener.
getNotANumber |
isNotANumber | checks whether the value given is equal to the indicator value for a missing value.

Methods' Details
addChartDataChangeEventListener
void
addChartDataChangeEventListener( | [in] XChartDataChangeEventListener | aListener );
Description allows a component supporting the XChartDataChangeEventListener interface to register as listener. The component will be notified with a ChartDataChangeEvent every time the chart's data changes. Parameter aListener the component that is to be added as listener See also XChartDataChangeEventListener, ChartDataChangeEvent
removeChartDataChangeEventListener
void
removeChartDataChangeEventListener( | [in] XChartDataChangeEventListener | aListener );
Description removes a previously registered listener. Parameter aListener the component that is to be removed
getNotANumber
double
getNotANumber();
Returns the value which is to be used as an indicator for a missing value in the data. In IEEE arithmetic format it is one of the NaN values, so there are no conflicts with existing numeric values.
isNotANumber
boolean
isNotANumber( | [in] double | nNumber );
Description checks whether the value given is equal to the indicator value for a missing value. In IEEE arithmetic format it is one of the NaN values, so there are no conflicts with existing numeric values. Always use this method to check, if a value is not a number. If you compare the value returned by XChartData::getNotANumber to another double value using the = operator, you may not get the desired result! Returns true if the number given is interpreted by the chart as a missing value. Parameter nNumber the number that you want to check for validity.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.