public class ChartWidgetContent extends Object implements WidgetContent
| Constructor and Description |
|---|
ChartWidgetContent() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAxes()
Gets the array of axes
|
WidgetHyperlink |
getHyperlink()
Gets the hyperlink associated with this Widget
|
List<Long> |
getIncludedColumnIds()
Gets the array of column IDs if the range was selected through the UI
|
Object |
getLegend()
Gets the location in the widget where Smartsheet renders the legend
|
Long |
getReportId()
Gets the report ID denoting container source, if applicable
|
List<SelectionRange> |
getSelectionRanges()
Gets the selection range if the source is a sheet
|
List<Object> |
getSeries()
Gets the array os series objects
|
Long |
getSheetId()
Gets the sheet ID denoting container source, if applicable
|
WidgetType |
getWidgetType()
Returns the type for this widget content object
|
ChartWidgetContent |
setAxes(List<Object> axes)
Sets the array of axes
|
ChartWidgetContent |
setHyperlink(WidgetHyperlink hyperlink)
Sets the hyperlink associated with this Widget
|
ChartWidgetContent |
setIncludedColumnIds(List<Long> includedColumnIds)
Sets the array of column IDs if the range was selected through the UI
|
ChartWidgetContent |
setLegend(Object legend)
Sets the location in the widget where Smartsheet renders the legend
|
ChartWidgetContent |
setReportId(Long reportId)
Sets the report ID denoting container source, if applicable
|
ChartWidgetContent |
setSelectionRanges(List<SelectionRange> selectionRanges)
Sets the selection range if the source is a sheet
|
ChartWidgetContent |
setSeries(List<Object> series)
Sets the array of series objects
|
ChartWidgetContent |
setSheetId(Long sheetId)
Sets the sheet ID denoting container source, if applicable
|
public WidgetType getWidgetType()
getWidgetType in interface WidgetContentpublic Long getReportId()
public ChartWidgetContent setReportId(Long reportId)
reportId - public Long getSheetId()
public ChartWidgetContent setSheetId(Long sheetId)
sheetId - public ChartWidgetContent setAxes(List<Object> axes)
axes - public WidgetHyperlink getHyperlink()
public ChartWidgetContent setHyperlink(WidgetHyperlink hyperlink)
hyperlink - public List<Long> getIncludedColumnIds()
public ChartWidgetContent setIncludedColumnIds(List<Long> includedColumnIds)
includedColumnIds - public Object getLegend()
public ChartWidgetContent setLegend(Object legend)
legend - public List<SelectionRange> getSelectionRanges()
public ChartWidgetContent setSelectionRanges(List<SelectionRange> selectionRanges)
selectionRanges - public List<Object> getSeries()
public ChartWidgetContent setSeries(List<Object> series)
series - Copyright © 2014–2019 Smartsheet. All rights reserved.