Highcharts 条形图样式:隐藏项目

Highcharts 条形图样式:隐藏项目,highcharts,styles,bar-chart,Highcharts,Styles,Bar Chart,我想确定一个条形图类型。这是用海图做的。 我想知道如何删除右上角的小按钮,以便打印图形。 另外,如何删除图表下方的“Highcharts.com”链接 以下是我的PHP/HTML代码: <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></scrip

我想确定一个条形图类型。这是用海图做的。 我想知道如何删除右上角的小按钮,以便打印图形。 另外,如何删除图表下方的“Highcharts.com”链接

以下是我的PHP/HTML代码:

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>

<div id="container"></div>

<div style="margin: 20px 0px 0px 60px">
  <!--
  The "oninput" attribute is automatically showing the value of the slider on load and whenever the user changes the value.
  Since we are using a category x-axis, the values are between 0 and 12. For this example, I'm adding your base year (2004) 
  to the output value so it shows a label that's meaningful to the user. To expand this example to more years, set your max value
  to the appropriate value and the base year to wherever you plan to start your chart's data.
  -->
  <script>
    $(function() {

    });

  </script>


  <div id="slider-range"></div>

    <p>
    <label for="amount">Year(s):</label>
    <input type="text" id="amount" readonly style="border:0; color:#f6931f; font-weight:bold;">
  </p>

</div>
您可以在以下屏幕上看到结果:

你能帮我吗

credits: { enabled: false }
删除highcharts链接() 及

删除菜单 ()

或使用 导出.buttons.contextButton.menuItems 自定义按钮 (,
)

注意,您必须拥有删除信用卡链接的许可证。如果未包含导出模块Perfect,则不会显示导出菜单!非常感谢。
credits: { enabled: false }
exporting: { enabled: false }