mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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:
parent
8e5cb6e98a
commit
35215db1cf
@ -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.
Loading…
x
Reference in New Issue
Block a user