Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html><html lang="en" style="height: 100%"><head><meta charset="utf-8"></head><body style="height: 100%; margin: 0"><div id="container" style="height: 100%"></div><script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts@5.4.0/dist/echarts.min.js"></script><script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts@5.4.0/dist/extension/dataTool.min.js"></script><script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts-stat@latest/dist/ecStat.min.js"></script><script type="text/javascript">var dom = document.getElementById('container');
- var themeData = {
- "color": [
- "#4ea397",
- "#22c3aa",
- "#7bd9a5",
- "#d0648a",
- "#f58db2",
- "#f2b3c9"
- ],
- "backgroundColor": "rgba(255,255,255,0)",
- "textStyle": {},
- "title": {
- "textStyle": {
- "color": "#666666"
- },
- "subtextStyle": {
- "color": "#999999"
- }
- },
- "line": {
- "itemStyle": {
- "borderWidth": "2"
- },
- "lineStyle": {
- "width": "3"
- },
- "symbolSize": "8",
- "symbol": "emptyCircle",
- "smooth": false
- },
- "radar": {
- "itemStyle": {
- "borderWidth": "2"
- },
- "lineStyle": {
- "width": "3"
- },
- "symbolSize": "8",
- "symbol": "emptyCircle",
- "smooth": false
- },
- "bar": {
- "itemStyle": {
- "barBorderWidth": 0,
- "barBorderColor": "#ccc"
- }
- },
- "pie": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- }
- },
- "scatter": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- }
- },
- "boxplot": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- }
- },
- "parallel": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- }
- },
- "sankey": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- }
- },
- "funnel": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- }
- },
- "gauge": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- }
- },
- "candlestick": {
- "itemStyle": {
- "color": "#d0648a",
- "color0": "transparent",
- "borderColor": "#d0648a",
- "borderColor0": "#22c3aa",
- "borderWidth": "1"
- }
- },
- "graph": {
- "itemStyle": {
- "borderWidth": 0,
- "borderColor": "#ccc"
- },
- "lineStyle": {
- "width": "1",
- "color": "#cccccc"
- },
- "symbolSize": "8",
- "symbol": "emptyCircle",
- "smooth": false,
- "color": [
- "#4ea397",
- "#22c3aa",
- "#7bd9a5",
- "#d0648a",
- "#f58db2",
- "#f2b3c9"
- ],
- "label": {
- "color": "#ffffff"
- }
- },
- "map": {
- "itemStyle": {
- "areaColor": "#eeeeee",
- "borderColor": "#999999",
- "borderWidth": 0.5
- },
- "label": {
- "color": "#28544e"
- },
- "emphasis": {
- "itemStyle": {
- "areaColor": "rgba(34,195,170,0.25)",
- "borderColor": "#22c3aa",
- "borderWidth": 1
- },
- "label": {
- "color": "#349e8e"
- }
- }
- },
- "geo": {
- "itemStyle": {
- "areaColor": "#eeeeee",
- "borderColor": "#999999",
- "borderWidth": 0.5
- },
- "label": {
- "color": "#28544e"
- },
- "emphasis": {
- "itemStyle": {
- "areaColor": "rgba(34,195,170,0.25)",
- "borderColor": "#22c3aa",
- "borderWidth": 1
- },
- "label": {
- "color": "#349e8e"
- }
- }
- },
- "categoryAxis": {
- "axisLine": {
- "show": true,
- "lineStyle": {
- "color": "#cccccc"
- }
- },
- "axisTick": {
- "show": false,
- "lineStyle": {
- "color": "#333"
- }
- },
- "axisLabel": {
- "show": true,
- "color": "#999999"
- },
- "splitLine": {
- "show": true,
- "lineStyle": {
- "color": [
- "#eeeeee"
- ]
- }
- },
- "splitArea": {
- "show": false,
- "areaStyle": {
- "color": [
- "rgba(250,250,250,0.05)",
- "rgba(200,200,200,0.02)"
- ]
- }
- }
- },
- "valueAxis": {
- "axisLine": {
- "show": true,
- "lineStyle": {
- "color": "#cccccc"
- }
- },
- "axisTick": {
- "show": false,
- "lineStyle": {
- "color": "#333"
- }
- },
- "axisLabel": {
- "show": true,
- "color": "#999999"
- },
- "splitLine": {
- "show": true,
- "lineStyle": {
- "color": [
- "#eeeeee"
- ]
- }
- },
- "splitArea": {
- "show": false,
- "areaStyle": {
- "color": [
- "rgba(250,250,250,0.05)",
- "rgba(200,200,200,0.02)"
- ]
- }
- }
- },
- "logAxis": {
- "axisLine": {
- "show": true,
- "lineStyle": {
- "color": "#cccccc"
- }
- },
- "axisTick": {
- "show": false,
- "lineStyle": {
- "color": "#333"
- }
- },
- "axisLabel": {
- "show": true,
- "color": "#999999"
- },
- "splitLine": {
- "show": true,
- "lineStyle": {
- "color": [
- "#eeeeee"
- ]
- }
- },
- "splitArea": {
- "show": false,
- "areaStyle": {
- "color": [
- "rgba(250,250,250,0.05)",
- "rgba(200,200,200,0.02)"
- ]
- }
- }
- },
- "timeAxis": {
- "axisLine": {
- "show": true,
- "lineStyle": {
- "color": "#cccccc"
- }
- },
- "axisTick": {
- "show": false,
- "lineStyle": {
- "color": "#333"
- }
- },
- "axisLabel": {
- "show": true,
- "color": "#999999"
- },
- "splitLine": {
- "show": true,
- "lineStyle": {
- "color": [
- "#eeeeee"
- ]
- }
- },
- "splitArea": {
- "show": false,
- "areaStyle": {
- "color": [
- "rgba(250,250,250,0.05)",
- "rgba(200,200,200,0.02)"
- ]
- }
- }
- },
- "toolbox": {
- "iconStyle": {
- "borderColor": "#999999"
- },
- "emphasis": {
- "iconStyle": {
- "borderColor": "#666666"
- }
- }
- },
- "legend": {
- "textStyle": {
- "color": "#999999"
- }
- },
- "tooltip": {
- "axisPointer": {
- "lineStyle": {
- "color": "#cccccc",
- "width": 1
- },
- "crossStyle": {
- "color": "#cccccc",
- "width": 1
- }
- }
- },
- "timeline": {
- "lineStyle": {
- "color": "#4ea397",
- "width": 1
- },
- "itemStyle": {
- "color": "#4ea397",
- "borderWidth": 1
- },
- "controlStyle": {
- "color": "#4ea397",
- "borderColor": "#4ea397",
- "borderWidth": 0.5
- },
- "checkpointStyle": {
- "color": "#4ea397",
- "borderColor": "#3cebd2"
- },
- "label": {
- "color": "#4ea397"
- },
- "emphasis": {
- "itemStyle": {
- "color": "#4ea397"
- },
- "controlStyle": {
- "color": "#4ea397",
- "borderColor": "#4ea397",
- "borderWidth": 0.5
- },
- "label": {
- "color": "#4ea397"
- }
- }
- },
- "visualMap": {
- "color": [
- "#d0648a",
- "#22c3aa",
- "#adfff1"
- ]
- },
- "dataZoom": {
- "backgroundColor": "rgba(255,255,255,0)",
- "dataBackgroundColor": "rgba(222,222,222,1)",
- "fillerColor": "rgba(114,230,212,0.25)",
- "handleColor": "#cccccc",
- "handleSize": "100%",
- "textStyle": {
- "color": "#999999"
- }
- },
- "markPoint": {
- "label": {
- "color": "#ffffff"
- },
- "emphasis": {
- "label": {
- "color": "#ffffff"
- }
- }
- }
- };
- echarts.registerTheme('pomini', themeData);
- var myChart = echarts.init(dom, 'pomini', {
- renderer: 'canvas',
- useDirtyRect: false
- });
- var app = {};
- var option;
- option = {
- title: {
- top: 5,
- text: "Motor Power",
- subtext: "1LE5683-3AC73-4."
- },
- xAxis: {
- type: "value",
- nameLocation: "middle",
- nameGap: 50,
- name: "Speed [rpm]"
- },
- yAxis: {
- type: "value",
- nameLocation: "middle",
- nameGap: 50,
- name: "Power [kW]",
- max: 240
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "cross"
- }
- },
- toolbox: {
- show: true,
- feature: {
- dataView: {
- readOnly: true
- }
- }
- },
- legend: {
- top: 5,
- data: [
- "Power Rated",
- "Power Rated 85%"
- ]
- },
- series: [
- {
- type: "line",
- name: "verticalLine",
- markLine: {
- symbol: [
- "none"
- ],
- label: {
- show: true
- },
- data: [
- {
- xAxis: 2621.52,
- label: {
- formatter: "Cut Off Speed \n {c} rpm"
- }
- },
- {
- xAxis: 1993,
- label: {
- formatter: "Max Inverter Frequency \n {c} rpm"
- }
- },
- {
- xAxis: 993,
- label: {
- formatter: "Speed Derated Line \n {c} rpm"
- }
- }
- ]
- }
- },
- {
- type: "line",
- data: [
- [
- 0,
- 0
- ],
- [
- 50,
- 10.070493454179255
- ],
- [
- 100,
- 20.14098690835851
- ],
- [
- 150,
- 30.211480362537763
- ],
- [
- 200,
- 40.28197381671702
- ],
- [
- 250,
- 50.35246727089627
- ],
- [
- 300,
- 60.42296072507553
- ],
- [
- 350,
- 70.49345417925478
- ],
- [
- 400,
- 80.56394763343404
- ],
- [
- 450,
- 90.6344410876133
- ],
- [
- 500,
- 100.70493454179254
- ],
- [
- 550,
- 110.7754279959718
- ],
- [
- 600,
- 120.84592145015105
- ],
- [
- 650,
- 130.9164149043303
- ],
- [
- 700,
- 140.98690835850957
- ],
- [
- 750,
- 151.05740181268882
- ],
- [
- 800,
- 161.12789526686808
- ],
- [
- 850,
- 171.19838872104734
- ],
- [
- 900,
- 181.2688821752266
- ],
- [
- 950,
- 191.33937562940585
- ],
- [
- 993,
- 200
- ],
- [
- 1000,
- 200
- ],
- [
- 1050,
- 200
- ],
- [
- 1100,
- 200
- ],
- [
- 1150,
- 200
- ],
- [
- 1200,
- 200
- ],
- [
- 1250,
- 200
- ],
- [
- 1300,
- 200
- ],
- [
- 1350,
- 200
- ],
- [
- 1400,
- 200
- ],
- [
- 1450,
- 200
- ],
- [
- 1500,
- 200
- ],
- [
- 1550,
- 200
- ],
- [
- 1600,
- 200
- ],
- [
- 1650,
- 200
- ],
- [
- 1700,
- 200
- ],
- [
- 1750,
- 200
- ],
- [
- 1800,
- 200
- ],
- [
- 1850,
- 200
- ],
- [
- 1900,
- 200
- ],
- [
- 1950,
- 200
- ],
- [
- 2000,
- 200
- ]
- ],
- name: "Power Rated",
- symbol: "none",
- markPoint: {
- label: {
- formatter: "{c}kW"
- },
- data: [
- {
- type: "max"
- }
- ],
- symbol: "arrow",
- symbolSize: 80,
- symbolRotate: 180,
- itemStyle: {
- color: "#748a83"
- }
- },
- areaStyle: {
- color: "#acd8cb"
- },
- lineStyle: {
- color: "#acd8cb"
- },
- itemStyle: {
- color: "#acd8cb"
- }
- },
- {
- type: "line",
- data: [
- [
- 0,
- 0
- ],
- [
- 50,
- 8.559919436052366
- ],
- [
- 100,
- 17.119838872104733
- ],
- [
- 150,
- 25.679758308157098
- ],
- [
- 200,
- 34.239677744209466
- ],
- [
- 250,
- 42.79959718026183
- ],
- [
- 300,
- 51.359516616314195
- ],
- [
- 350,
- 59.919436052366564
- ],
- [
- 400,
- 68.47935548841893
- ],
- [
- 450,
- 77.0392749244713
- ],
- [
- 500,
- 85.59919436052365
- ],
- [
- 550,
- 94.15911379657602
- ],
- [
- 600,
- 102.71903323262839
- ],
- [
- 650,
- 111.27895266868076
- ],
- [
- 700,
- 119.83887210473313
- ],
- [
- 750,
- 128.3987915407855
- ],
- [
- 800,
- 136.95871097683786
- ],
- [
- 850,
- 145.51863041289025
- ],
- [
- 900,
- 154.0785498489426
- ],
- [
- 950,
- 162.63846928499498
- ],
- [
- 993,
- 170
- ],
- [
- 1000,
- 170
- ],
- [
- 1050,
- 170
- ],
- [
- 1100,
- 170
- ],
- [
- 1150,
- 170
- ],
- [
- 1200,
- 170
- ],
- [
- 1250,
- 170
- ],
- [
- 1300,
- 170
- ],
- [
- 1350,
- 170
- ],
- [
- 1400,
- 170
- ],
- [
- 1450,
- 170
- ],
- [
- 1500,
- 170
- ],
- [
- 1550,
- 170
- ],
- [
- 1600,
- 170
- ],
- [
- 1650,
- 170
- ],
- [
- 1700,
- 170
- ],
- [
- 1750,
- 170
- ],
- [
- 1800,
- 170
- ],
- [
- 1850,
- 170
- ],
- [
- 1900,
- 170
- ],
- [
- 1950,
- 170
- ],
- [
- 2000,
- 170
- ]
- ],
- name: "Power Rated 85%",
- symbol: "none",
- areaStyle: {
- color: "#5ebca6"
- },
- lineStyle: {
- color: "#5ebca6"
- },
- itemStyle: {
- color: "#5ebca6"
- }
- }
- ]
- };
- if (option && typeof option === 'object') {
- myChart.setOption(option);
- }
- window.addEventListener('resize', myChart.resize);</script></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement