score:10
See the following 'Exporting module is loaded but disabled' for how to disable exporting. An explanation of all of the modifiable options for exporting can be found here.
EDIT
It looks like you are using DotNet.Highcharts. Here is an example on how to use and set the exporting features:
.SetExporting(new Exporting
{
Buttons = new ExportingButtons
{
ExportButton = new ExportingButtonsExportButton
{
Align = HorizontalAligns.Right,
//BackgroundColor <-- Don't know how to set yet
BorderColor = Color.Black,
BorderRadius = 3,
BorderWidth = 1,
Enabled = true,
Height = 35,
HoverBorderColor = Color.Red,
HoverSymbolFill = Color.Black,
HoverSymbolStroke = Color.Black,
//Onclick
//MenuItems
SymbolSize = 25,
SymbolX = 18,
SymbolY = 18,
VerticalAlign = VerticalAligns.Top,
Width = 35,
Y = 10,
X = -50
},
PrintButton = new ExportingButtonsPrintButton
{
Align = HorizontalAligns.Right,
//BackgroundColor <-- Don't know how to set yet
BorderColor = Color.Black,
BorderRadius = 3,
BorderWidth = 1,
Enabled = true,
Height = 35,
HoverBorderColor = Color.Red,
HoverSymbolFill = Color.Black,
HoverSymbolStroke = Color.Black,
//Onclick
//MenuItems
SymbolStroke = Color.Teal,
SymbolSize = 25,
SymbolX = 18,
SymbolY = 18,
VerticalAlign = VerticalAligns.Top,
Width = 35,
Y = 10,
X = -15
}
},
Enabled = true,
EnableImages = true,
Filename = "HomeChart",
Type = "image/png",
Url = "http://export.highcharts.com",
Width = 800
})
score:0
The below works for the MVC 5 and Highsoft.Highcharts
I added it before this line: Title = new Title { Text = "charts" },
Exporting = new Exporting { Enabled = false },
score:5
The first option that you mention:
exporting: {
enabled: false
}
breaks the highcharts object, if you are using it in a scenario in which you reuse the html container (ie refreshing data).
the only viable option for me in that scenario is combining both:
optionsMini.exporting = {
enabled: false,
buttons: {
exportButton: {
enabled: false
},
printButton: {
enabled: false
}
}
}
score:72
You can disable both the buttons (i.e. the whole exporting section) simulataneously by,
exporting: {
enabled: false
}
You can also disable any one or both of them like this,
exporting: {
buttons: {
exportButton: {
enabled:false
},
printButton: {
enabled:false
}
}
}
Source: stackoverflow.com
Related Query
- Remove Export and print button plugin on highchart chart
- How to export a Highchart chart to PDF thanks to a button outside the chart?
- Dynamically add and remove custom export button in highcharts
- Highcharts resize chart size using custom export button and replace expand and collapse button dynamically
- Export Table and Chart In PDF In HIGHCHART with ANGULAR
- JavaScript - Export Div with SVG chart + HTML as and Image
- Highcharts: Remove space between plot border and actual chart
- How to create a new Highstock chart with new Highchart and not jquery?
- How do I get remove of 'data table' option from High chart export
- Highcharts - How can I remove starting and ending padding from area chart
- remove print button
- how to reset Highchart chart width in percentage on Button click
- highchart export button not show
- How to export CSV and XLS with external button in Highcharts
- How to disable Print Chart button when there is no Chart present
- put the highchart legend to the bottom of the chart and horizontally centered
- Export chart image data locally in HIghchart
- Use MySQL data as the chart data for the cakephp highchart plugin
- Can highcharts export a chart AND table data?
- remove previous markers and retain only single marker highchart
- Change the Size of the Export Button In Fusion Chart in PHP
- how to take only categories for x-axis and remove unwanted scaling in Highstock chart
- Highchart offline export trying to loading libs from online cdn and errors out
- Export of high chart to CSV using custom button
- Highchart Js Column Chart Stacked and Grouping
- Remove elements in a chart generated with highchart
- Export Jquery chart to csv,pdf and excel
- rangeSelector input and export button missalignment
- How can i export row data from highchart to excel file and not csv?
- Highcharts: print chart without designated button
More Query from same tag
- Yii2 - Connect to database inside Controller Action
- Column chart in Highcharts - select series with a click
- Highstock - multiple plotlines value from json
- installing a highcharts server with CentOS 6
- Highchart tooltip issue
- Highcharts - time off by 1 hour
- Highcharts gauge chart size
- How to loop the data[] series with php and mysql
- Highcharts: there are two columns after exporting XLS(excel),I want to add another column showing percentage
- Multiple highcharts charts dynamically created in angular2 on one page
- HighChart Time Series hours starting at 4pm
- Format styles based on some conditions in highcharts
- highcharts.js column/bar overlap (datetime Xaxis)
- how to draw Highcharts by php
- How to manipulate data objects and arrays using Laravel Map function?
- Highcharts adding new data points in VueJS / Vuex
- highcharts Adding New Series Not Working
- How to get continuous graphs in Highstock (beta release)
- Applying 'categories' to Y-Axis causes a gap between column start and X Axis in Highcharts?
- Converting this highcharts to my data
- Highcharts polar chart not connecting lines properly
- Displaying linechart using angular2-highcharts
- How to draw line from Data label to Marker in Highchart Scatter Plot
- How to pass all the data in dataframe that extract from excel sheet to highchart?
- HighCharts Create gradiance decress color to blur for each value on bar chart
- searching for a string in multiple arrays with forEach
- Highmaps: How to emphasize mapline
- Save highchart's legend hidden
- Load highcharts dynamically with dynamic config option
- Highcharts Drawing a line with chart.renderer.path