<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Highcharts-ngAngularJS 圖表擴(kuò)展

          聯(lián)合創(chuàng)作 · 2023-09-19 13:16

          Highcharts-ng 是一個 AngularJS 的指令擴(kuò)展,實現(xiàn)了在 AngularJS 應(yīng)用中集成 Highcharts 圖表庫的功能。

          演示地址:http://jsfiddle.net/pablojim/46rhz/

          使用方法:

          var myapp = angular.module('myapp', ["highcharts-ng"]);

          HTML:

          <highchart id="chart1" config="chartConfig"></highchart>

          chartConfig:

          //This is not a highcharts object. It just looks a little like one!
          var chartConfig = {
          
            options: {
                //This is the Main Highcharts chart config. Any Highchart options are valid here.
                //will be overriden by values specified below.
                chart: {
                    type: 'bar'
                },
                tooltip: {
                    style: {
                        padding: 10,
                        fontWeight: 'bold'
                    }
                }
            },
            //The below properties are watched separately for changes.
          
            //Series object (optional) - a list of series using normal highcharts series options.
            series: [{
               data: [10, 15, 12, 8, 7]
            }],
            //Title configuration (optional)
            title: {
               text: 'Hello'
            },
            //Boolean to control showng loading status on chart (optional)
            //Could be a string if you want to show specific loading text.
            loading: false,
            //Configuration for the xAxis (optional). Currently only one x axis can be dynamically controlled.
            //properties currentMin and currentMax provied 2-way binding to the chart's maximimum and minimum
            xAxis: {
            currentMin: 0,
            currentMax: 20,
            title: {text: 'values'}
            },
            //Whether to use HighStocks instead of HighCharts (optional). Defaults to false.
            useHighStocks: false,
            //size (optional) if left out the chart will default to size of the div or something sensible.
            size: {
             width: 400,
             height: 300
            },
            //function (optional)
            func: function (chart) {
             //setup some logic for the chart
            }
          };
          瀏覽 5
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  天堂青草福利视频 | 一级黄色电影免费在线 | 久久黄色视频网站 | 岛国av在线观看网址国产 | 我要看一级黄色视频 |