DocumentChartFigure Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. DocumentFigure - com.
azure. ai. contentunderstanding. models. DocumentChartFigure
- com.
- com.
public final class DocumentChartFigure
extends DocumentFigure
Figure containing a chart, such as a bar chart, line chart, or pie chart.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
|
Map<String,Binary |
getContent()
Get the content property: Chart content represented using [Chart. |
|
Document |
getKind()
Get the kind property: Figure kind. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from DocumentFigure
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentChartFigure fromJson(JsonReader jsonReader)
Reads an instance of DocumentChartFigure from the JsonReader.
Parameters:
Returns:
Throws:
getContent
public Map<String,BinaryData> getContent()
Get the content property: Chart content represented using [Chart.js config](https://www.chartjs.org/docs/latest/configuration/).
Returns:
getKind
public DocumentFigureKind getKind()
Get the kind property: Figure kind.
Overrides:
DocumentChartFigure.getKind()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DocumentChartFigure.toJson(JsonWriter jsonWriter)Parameters:
Throws: