public class HIExporting extends HIFoundation
| Constructor and Description |
|---|
HIExporting() |
| Modifier and Type | Method and Description |
|---|---|
HIAccessibility |
getAccessibility() |
java.lang.Boolean |
getAllowHTML() |
java.lang.Boolean |
getAllowTableSorting() |
HIButtons |
getButtons() |
java.lang.String |
getChartMenuLabel() |
java.util.HashMap |
getChartOptions() |
HICsv |
getCsv() |
java.lang.Boolean |
getEnabled() |
HIFunction |
getError() |
java.lang.Boolean |
getFallbackToExportServer() |
java.lang.Object |
getFetchOptions() |
java.lang.String |
getFilename() |
java.lang.String |
getLibURL() |
java.lang.String |
getMenuButtonLabel() |
java.lang.Object |
getMenuItemDefinitions() |
java.util.HashMap<java.lang.String,java.lang.Object> |
getParams() |
HIPdfFont |
getPdfFont() |
java.lang.Number |
getPrintMaxWidth() |
java.lang.Number |
getScale() |
java.lang.Boolean |
getShowExportInProgress() |
java.lang.Boolean |
getShowTable() |
java.lang.Number |
getSourceHeight() |
java.lang.Number |
getSourceWidth() |
java.lang.Object |
getTableCaption() |
java.lang.String |
getType() |
java.lang.String |
getUrl() |
java.lang.Boolean |
getUseMultiLevelHeaders() |
java.lang.Boolean |
getUseRowspanHeaders() |
java.lang.Number |
getWidth() |
void |
setAccessibility(HIAccessibility accessibility)
Accessibility options for the exporting menu.
|
void |
setAllowHTML(java.lang.Boolean allowHTML)
Experimental setting to allow HTML inside the chart (added through the `useHTML` options), directly in the exported image.
|
void |
setAllowTableSorting(java.lang.Boolean allowTableSorting)
Allows the end user to sort the data table by clicking on column headers.
|
void |
setButtons(HIButtons buttons)
Options for the export related buttons, print and export.
|
void |
setChartMenuLabel(java.lang.String chartMenuLabel) |
void |
setChartOptions(java.util.HashMap chartOptions)
Additional chart options to be merged into the chart before exporting to an image format.
|
void |
setCsv(HICsv csv)
Options for exporting data to CSV or ExCel, or displaying the data in a HTML table or a JavaScript structure.
|
void |
setEnabled(java.lang.Boolean enabled)
Whether to enable the exporting module.
|
void |
setError(HIFunction error)
Function to call if the offline-exporting module fails to export a chart on the client side, and `fallbackToExportServer` is disabled.
|
void |
setFallbackToExportServer(java.lang.Boolean fallbackToExportServer)
Whether or not to fall back to the export server if the offline-exporting module is unable to export the chart on the client side.
|
void |
setFetchOptions(java.lang.Object fetchOptions)
Options for the fetch request used when sending the SVG to the export server.
|
void |
setFilename(java.lang.String filename)
The filename, without extension, to use for the exported chart.
|
void |
setLibURL(java.lang.String libURL)
Path where Highcharts will look for export module dependencies to load on demand if they don't already exist on `window`.
|
void |
setMenuButtonLabel(java.lang.String menuButtonLabel) |
void |
setMenuItemDefinitions(java.lang.Object menuItemDefinitions)
An object consisting of definitions for the menu items in the context menu.
|
void |
setPdfFont(HIPdfFont pdfFont)
Settings for a custom font for the exported PDF, when using the `offline-exporting` module.
|
void |
setPrintMaxWidth(java.lang.Number printMaxWidth)
When printing the chart from the menu item in the burger menu, if the on-screen chart exceeds this width, it is resized.
|
void |
setScale(java.lang.Number scale)
Defines the scale or zoom factor for the exported image compared to the on-screen display.
|
void |
setShowExportInProgress(java.lang.Boolean showExportInProgress)
Display a message when export is in progress.
|
void |
setShowTable(java.lang.Boolean showTable)
Show a HTML table below the chart with the chart's current data.
|
void |
setSourceHeight(java.lang.Number sourceHeight)
Analogous to `sourceWidth`.
|
void |
setSourceWidth(java.lang.Number sourceWidth)
The width of the original chart when exported, unless an explicit `chart.width` is set, or a pixel width is set on the container.
|
void |
setTableCaption(java.lang.Object tableCaption)
Caption for the data table.
|
void |
setType(java.lang.String type)
Default MIME type for exporting if `chart.exportChart()` is called without specifying a `type` option.
|
void |
setUrl(java.lang.String url)
The URL for the server module converting the SVG string to an image format.
|
void |
setUseMultiLevelHeaders(java.lang.Boolean useMultiLevelHeaders)
Use multi level headers in data table.
|
void |
setUseRowspanHeaders(java.lang.Boolean useRowspanHeaders)
If using multi level table headers, use rowspans for headers that have only one level.
|
void |
setWidth(java.lang.Number width)
The pixel width of charts exported to PNG or JPG.
|
public HIAccessibility getAccessibility()
public java.lang.Boolean getAllowHTML()
public java.lang.Boolean getAllowTableSorting()
public HIButtons getButtons()
public java.lang.String getChartMenuLabel()
public java.util.HashMap getChartOptions()
public HICsv getCsv()
public java.lang.Boolean getEnabled()
public HIFunction getError()
public java.lang.Boolean getFallbackToExportServer()
public java.lang.Object getFetchOptions()
public java.lang.String getFilename()
public java.lang.String getLibURL()
public java.lang.String getMenuButtonLabel()
public java.lang.Object getMenuItemDefinitions()
public java.util.HashMap<java.lang.String,java.lang.Object> getParams()
getParams in class HIFoundationpublic HIPdfFont getPdfFont()
public java.lang.Number getPrintMaxWidth()
public java.lang.Number getScale()
public java.lang.Boolean getShowExportInProgress()
public java.lang.Boolean getShowTable()
public java.lang.Number getSourceHeight()
public java.lang.Number getSourceWidth()
public java.lang.Object getTableCaption()
public java.lang.String getType()
public java.lang.String getUrl()
public java.lang.Boolean getUseMultiLevelHeaders()
public java.lang.Boolean getUseRowspanHeaders()
public java.lang.Number getWidth()
public void setAccessibility(HIAccessibility accessibility)
public void setAllowHTML(java.lang.Boolean allowHTML)
public void setAllowTableSorting(java.lang.Boolean allowTableSorting)
public void setButtons(HIButtons buttons)
public void setChartMenuLabel(java.lang.String chartMenuLabel)
public void setChartOptions(java.util.HashMap chartOptions)
public void setCsv(HICsv csv)
public void setEnabled(java.lang.Boolean enabled)
public void setError(HIFunction error)
public void setFallbackToExportServer(java.lang.Boolean fallbackToExportServer)
public void setFetchOptions(java.lang.Object fetchOptions)
public void setFilename(java.lang.String filename)
public void setLibURL(java.lang.String libURL)
public void setMenuButtonLabel(java.lang.String menuButtonLabel)
public void setMenuItemDefinitions(java.lang.Object menuItemDefinitions)
public void setPdfFont(HIPdfFont pdfFont)
public void setPrintMaxWidth(java.lang.Number printMaxWidth)
public void setScale(java.lang.Number scale)
public void setShowExportInProgress(java.lang.Boolean showExportInProgress)
public void setShowTable(java.lang.Boolean showTable)
public void setSourceHeight(java.lang.Number sourceHeight)
public void setSourceWidth(java.lang.Number sourceWidth)
public void setTableCaption(java.lang.Object tableCaption)
public void setType(java.lang.String type)
public void setUrl(java.lang.String url)
public void setUseMultiLevelHeaders(java.lang.Boolean useMultiLevelHeaders)
public void setUseRowspanHeaders(java.lang.Boolean useRowspanHeaders)
public void setWidth(java.lang.Number width)