Chart Export
5 nodes
On this page 5
Chart Count
FunctionHow many charts a figure holds.
Signature
ChartCount(figure: Figure) -> Integer
int ChartCount(Figure figure)
Parameters
| name | type | default | description |
|---|---|---|---|
| figure | Figure | — | The figure. |
Returns
| Count | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Chart Export
- Package
- Data Analytics
Chart to Image
FunctionA chart as a picture, to preview, compose with other images, or process further.
Signature
ChartToImage(figure: Figure, DPI: Number) -> Pixel Image
PixelImage ChartToImage(Figure figure, double dpi = 96)
Parameters
| name | type | default | description |
|---|---|---|---|
| figure | Figure | — | The chart. |
| DPI | Number | 96 | The resolution in dots per inch: 96 is one pixel per chart pixel. |
Returns
| Image | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Chart Export
- Package
- Data Analytics
Chart to SVG Text
FunctionA chart as SVG text, for a web page or a file of your own.
Signature
ChartToSvg(figure: Figure) -> Text
string ChartToSvg(Figure figure)
Parameters
| name | type | default | description |
|---|---|---|---|
| figure | Figure | — | The chart. |
Returns
| SVG | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Chart Export
- Package
- Data Analytics
Chart Width
FunctionThe width a chart is drawn at, in pixels at 96 to the inch.
Signature
ChartWidth(figure: Figure) -> Number
double ChartWidth(Figure figure)
Parameters
| name | type | default | description |
|---|---|---|---|
| figure | Figure | — | The chart. |
Returns
| Width | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Chart Export
- Package
- Data Analytics
Save Chart
FunctionSaves a chart to a file whose extension says the format: a picture (.png), a drawing (.svg, .pdf), or a PowerPoint deck, an Excel workbook or a Word document (.pptx, .xlsx, .docx) holding the application's own chart with its data, to restyle and edit there. Written As says what went into the file - for an Office file, which charts are the application's own and which are pictures of a kind it has no chart for.
Signature
SaveChart -> (Path: Text, writtenAs: Text)
figure: Figure
path: Text
DPI: Numberstring SaveChart(
Figure figure,
string path,
out string writtenAs,
double dpi = 96)Parameters
| name | type | default | description |
|---|---|---|---|
| figure | Figure | — | The chart. |
| path | Text | — | Where to save it; folders are made as needed. |
| DPI | Number | 96 | A PNG's resolution in dots per inch: 96 is one pixel per chart pixel, 192 twice as sharp. |
Returns
| Path | Text |
| writtenAs | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Chart Export
- Package
- Data Analytics