Package com.independentsoft.office.charts

# Class DataLabels

java.lang.Object
com.independentsoft.office.charts.DataLabels

public class DataLabels extends Object
The Class DataLabels.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataLabels()`
  Instantiates a new data labels.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataLabels`
  `clone()`
  `ChartShapeProperties`
  `getChartShapeProperties()`
  Gets the chart shape properties.
  `List<DataLabel>`
  `getLabels()`
  Gets the labels.
  `LeaderLines`
  `getLeaderLines()`
  Gets the leader lines.
  `NumberFormat`
  `getNumberFormat()`
  Gets the number format.
  `DataLabelPosition`
  `getPosition()`
  Gets the position.
  `String`
  `getSeparator()`
  Gets the separator.
  `TextProperties`
  `getTextProperties()`
  Gets the text properties.
  `boolean`
  `isDelete()`
  Checks if is delete.
  `boolean`
  `isShowBubbleSize()`
  Checks if is show bubble size.
  `boolean`
  `isShowCategoryName()`
  Checks if is show category name.
  `boolean`
  `isShowLeaderLines()`
  Checks if is show leader lines.
  `boolean`
  `isShowLegendKey()`
  Checks if is show legend key.
  `boolean`
  `isShowPercent()`
  Checks if is show percent.
  `boolean`
  `isShowSeriesName()`
  Checks if is show series name.
  `boolean`
  `isShowValue()`
  Checks if is show value.
  `void`
  `setDelete​(boolean delete)`
  Sets the delete.
  `void`
  `setLeaderLines​(LeaderLines leaderLines)`
  Sets the leader lines.
  `void`
  `setNumberFormat​(NumberFormat numberFormat)`
  Sets the number format.
  `void`
  `setPosition​(DataLabelPosition position)`
  Sets the position.
  `void`
  `setSeparator​(String separator)`
  Sets the separator.
  `void`
  `setShowBubbleSize​(boolean showBubbleSize)`
  Sets the show bubble size.
  `void`
  `setShowCategoryName​(boolean showCategoryName)`
  Sets the show category name.
  `void`
  `setShowLeaderLines​(boolean showLeaderLines)`
  Sets the show leader lines.
  `void`
  `setShowLegendKey​(boolean showLegendKey)`
  Sets the show legend key.
  `void`
  `setShowPercent​(boolean showPercent)`
  Sets the show percent.
  `void`
  `setShowSeriesName​(boolean showSeriesName)`
  Sets the show series name.
  `void`
  `setShowValue​(boolean showValue)`
  Sets the show value.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DataLabels

    public DataLabels()
    Instantiates a new data labels.

- ## Method Details

  - ### clone

    public DataLabels clone()
    Overrides:
      `clone` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### isDelete

    public boolean isDelete()
    Checks if is delete.
    Returns:
      true, if is delete

  - ### setDelete

    public void setDelete​(boolean delete)
    Sets the delete.
    Parameters:
      `delete` - the new delete

  - ### getLeaderLines

    public LeaderLines getLeaderLines()
    Gets the leader lines.
    Returns:
      the leader lines

  - ### setLeaderLines

    public void setLeaderLines​(LeaderLines leaderLines)
    Sets the leader lines.
    Parameters:
      `leaderLines` - the new leader lines

  - ### getLabels

    public List<DataLabel> getLabels()
    Gets the labels.
    Returns:
      the labels

  - ### getPosition

    public DataLabelPosition getPosition()
    Gets the position.
    Returns:
      the position

  - ### setPosition

    public void setPosition​(DataLabelPosition position)
    Sets the position.
    Parameters:
      `position` - the new position

  - ### getNumberFormat

    public NumberFormat getNumberFormat()
    Gets the number format.
    Returns:
      the number format

  - ### setNumberFormat

    public void setNumberFormat​(NumberFormat numberFormat)
    Sets the number format.
    Parameters:
      `numberFormat` - the new number format

  - ### getSeparator

    public String getSeparator()
    Gets the separator.
    Returns:
      the separator

  - ### setSeparator

    public void setSeparator​(String separator)
    Sets the separator.
    Parameters:
      `separator` - the new separator

  - ### isShowBubbleSize

    public boolean isShowBubbleSize()
    Checks if is show bubble size.
    Returns:
      true, if is show bubble size

  - ### setShowBubbleSize

    public void setShowBubbleSize​(boolean showBubbleSize)
    Sets the show bubble size.
    Parameters:
      `showBubbleSize` - the new show bubble size

  - ### isShowCategoryName

    public boolean isShowCategoryName()
    Checks if is show category name.
    Returns:
      true, if is show category name

  - ### setShowCategoryName

    public void setShowCategoryName​(boolean showCategoryName)
    Sets the show category name.
    Parameters:
      `showCategoryName` - the new show category name

  - ### isShowLeaderLines

    public boolean isShowLeaderLines()
    Checks if is show leader lines.
    Returns:
      true, if is show leader lines

  - ### setShowLeaderLines

    public void setShowLeaderLines​(boolean showLeaderLines)
    Sets the show leader lines.
    Parameters:
      `showLeaderLines` - the new show leader lines

  - ### isShowLegendKey

    public boolean isShowLegendKey()
    Checks if is show legend key.
    Returns:
      true, if is show legend key

  - ### setShowLegendKey

    public void setShowLegendKey​(boolean showLegendKey)
    Sets the show legend key.
    Parameters:
      `showLegendKey` - the new show legend key

  - ### isShowPercent

    public boolean isShowPercent()
    Checks if is show percent.
    Returns:
      true, if is show percent

  - ### setShowPercent

    public void setShowPercent​(boolean showPercent)
    Sets the show percent.
    Parameters:
      `showPercent` - the new show percent

  - ### isShowSeriesName

    public boolean isShowSeriesName()
    Checks if is show series name.
    Returns:
      true, if is show series name

  - ### setShowSeriesName

    public void setShowSeriesName​(boolean showSeriesName)
    Sets the show series name.
    Parameters:
      `showSeriesName` - the new show series name

  - ### isShowValue

    public boolean isShowValue()
    Checks if is show value.
    Returns:
      true, if is show value

  - ### setShowValue

    public void setShowValue​(boolean showValue)
    Sets the show value.
    Parameters:
      `showValue` - the new show value

  - ### getChartShapeProperties

    public ChartShapeProperties getChartShapeProperties()
    Gets the chart shape properties.
    Returns:
      the chart shape properties

  - ### getTextProperties

    public TextProperties getTextProperties()
    Gets the text properties.
    Returns:
      the text properties