add extra setTitle method

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-06-11 08:36:51 +00:00
parent 8e5cb6e98a
commit 35215db1cf
2 changed files with 14 additions and 0 deletions

View File

@ -178,6 +178,20 @@ public abstract class XDDFChartData {
this.valuesData = values;
}
/**
* Set the Chart Series title.
* @param title chart series title
* @since POI 5.2.3
*/
public void setTitle(String title) {
setTitle(title, null);
}
/**
* Set the Chart Series title.
* @param title chart series title
* @param titleRef cell reference
*/
public void setTitle(String title, CellReference titleRef) {
if (titleRef == null) {
getSeriesText().setV(title);

Binary file not shown.