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
- Why any of highcharts demo example doesn't work?
- Highcharts polar : series appear over others when toggle to visible
- Highcharts issue updating chart type: not recognizing highcharts functions
- Highcharts border around plot
- How do i enable scrollbar in highcharts in react
- Why is Highchart loaded twice in my rails app ? (Uncaught Highcharts error #16)
- Navigator line is different than series line
- highcharts first and last category width
- Line and column combo chart with multiple columns for each category, how to position line marker for each category on a specific column?
- How to zoom in Highcharts Android
- Highcharts Exporting multiple Pie Charts
- Data labling in highcharts
- Glossy Heatmap Highcharts
- Highchart - tooltip for legends
- Highcharts: How to shift yAxis to center (e.g.Population by sex and age group)
- Exporting 2 button option issue in highchart
- Highcharts : selection
- How to add and resize image in context button of highcharts
- I want to implement drilldown for heatmap or heatstock of highcharts
- Why does my Highchart look different when I transfer my code from Jsfiddle to my server?
- How to align centre a custom label in highcharts
- Highchart always show max value for y Axis
- Websharper HighCharts Example
- Jquery: Unable to add Json object to Ajax request
- PHP: Convert date to Javascript date (January = zero)
- Highchart guage needles showing below data labels
- Hightcharts present values by date from database
- Passing data from JSP to jQuery and plotting in Highcharts
- Please help Highcharts - Windrose graph display bars from top to center
- Change only "Input Date" text of HIghStock Chart without setExtrerems?