var instance = new GC.Spread.Sheets.Charts.Chart(sheet, name, chartType, x, y, width, height, dataRange, dataOrientation); var returnValue; // Type: any returnValue = instance.title(value, value.text, value.fontFamily, value.fontSize, value.color, value.transparency);
function title( value : Object, value.text : string, value.fontFamily : string, value.fontSize : number, value.color : string, value.transparency : number ) : any;
Parameters
- value
- The title of the chart.
- value.text
- The text of the chart title.
- value.fontFamily
- The font family of the chart title.
- value.fontSize
- The font size of the chart title, its unit is pixel.
- value.color
- The color of the chart title.
- value.transparency
- The transparency of the chart title color
Return Value
If no value is set, returns the title of the chart; otherwise, returns the chart.