I hereby claim:
- I am corradio on github.
- I am corradio (https://keybase.io/corradio) on keybase.
- I have a public key whose fingerprint is 8F72 41A6 3792 5AD9 108C A879 8A7A 73C1 59F8 A153
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| myChart.showLoading(); | |
| $.get('data/asset/data/confidence-band.json', function (data) { | |
| myChart.hideLoading(); | |
| var iLim = 30; | |
| var base = -data.reduce(function (min, val) { | |
| return Math.floor(Math.min(min, val.l)); | |
| }, Infinity); | |
| myChart.setOption(option = { |
| app.title = '坐标轴刻度与标签对齐'; | |
| option = { | |
| tooltip : { | |
| trigger: 'axis', | |
| axisPointer : { // 坐标轴指示器,坐标轴触发有效 | |
| type : 'shadow' // 默认为直线,可选为:'line' | 'shadow' | |
| } | |
| }, | |
| grid: { |
| var base = +new Date(1968, 9, 3); | |
| var oneDay = 24 * 3600 * 1000; | |
| var date = []; | |
| var data = [Math.random() * 300]; | |
| for (var i = 1; i < 30; i++) { | |
| var now = new Date(base += oneDay); | |
| date.push([now.getFullYear(), now.getMonth() + 1, now.getDate()].join('/')); | |
| data.push(Math.round((Math.random() - 0.5) * 20 + data[i - 1])); |
| option = { | |
| title: { | |
| text: 'Actual Generation per Production Type' | |
| }, | |
| tooltip : { | |
| trigger: 'axis', | |
| axisPointer: { | |
| type: 'cross', | |
| label: { | |
| backgroundColor: '#6a7985' |
| option = { | |
| title: { | |
| text: '' | |
| }, | |
| tooltip : { | |
| trigger: 'axis', | |
| axisPointer: { | |
| type: 'cross', | |
| label: { | |
| backgroundColor: '#6a7985' |
| blueprint: | |
| name: Carbon intensity light | |
| description: Changes light color based on the carbon intensity of electricity | |
| domain: automation | |
| input: | |
| light_entity: | |
| name: Light | |
| description: This light will change color based on the carbon intensity of the grid. | |
| selector: | |
| entity: |