diff --git a/dist/tui-chart.css b/dist/tui-chart.css index 6685cc3ea..8ead19294 100755 --- a/dist/tui-chart.css +++ b/dist/tui-chart.css @@ -2,10 +2,10 @@ * tui-chart * @fileoverview tui-chart * @author NHN Ent. FE Development Lab - * @version 3.0.0 + * @version 3.0.1 * @license MIT * @link https://github.com/nhnent/tui.chart - * bundle created at "Tue Mar 13 2018 16:11:03 GMT+0900 (KST)" + * bundle created at "Tue Mar 13 2018 16:15:39 GMT+0900 (KST)" */ .tui-chart { position: relative; diff --git a/dist/tui-chart.js b/dist/tui-chart.js index c1579d4ab..a3fac418c 100755 --- a/dist/tui-chart.js +++ b/dist/tui-chart.js @@ -2,10 +2,10 @@ * tui-chart * @fileoverview tui-chart * @author NHN Ent. FE Development Lab - * @version 3.0.0 + * @version 3.0.1 * @license MIT * @link https://github.com/nhnent/tui.chart - * bundle created at "Tue Mar 13 2018 16:11:03 GMT+0900 (KST)" + * bundle created at "Tue Mar 13 2018 16:15:39 GMT+0900 (KST)" */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') diff --git a/dist/tui-chart.min.css b/dist/tui-chart.min.css index 365aa86ea..609bd06bd 100755 --- a/dist/tui-chart.min.css +++ b/dist/tui-chart.min.css @@ -2,9 +2,9 @@ * tui-chart.min * @fileoverview tui-chart * @author NHN Ent. FE Development Lab - * @version 3.0.0 + * @version 3.0.1 * @license MIT * @link https://github.com/nhnent/tui.chart - * bundle created at "Tue Mar 13 2018 16:11:03 GMT+0900 (KST)" + * bundle created at "Tue Mar 13 2018 16:15:39 GMT+0900 (KST)" */ .tui-chart{position:relative;font-family:Arial;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.tui-chart,.tui-chart *{box-sizing:border-box}.tui-chart svg line,.tui-chart svg path,.tui-chart svg rect{shape-rendering:crispEdges}.tui-chart svg .auto-shape-rendering{shape-rendering:auto}.tui-chart .tui-chart-icon{background-color:"#f4f4f4"}.tui-chart .tui-chart-icon:hover{background-color:"#eee"}.tui-chart .tui-chart-icon:active{background-color:"#e5e5e5"}.tui-chart .tui-chart-title{position:absolute;top:0;left:0;width:100%;text-align:center;padding:10px 0;z-index:350}.tui-chart .tui-chart-axis-area{z-index:300;position:absolute}.tui-chart .tui-chart-axis-area *{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.tui-chart .tui-chart-axis-area .tui-chart-title-area{position:absolute}.tui-chart .tui-chart-axis-area .tui-chart-label-area,.tui-chart .tui-chart-axis-area .tui-chart-tick-area{position:absolute;top:0;width:100%;height:100%}.tui-chart .tui-chart-axis-area .tui-chart-tick-area .tui-chart-tick{position:absolute;background-color:#000}.tui-chart .tui-chart-axis-area .tui-chart-label-area .tui-chart-label{position:absolute}.tui-chart .tui-chart-axis-area .tui-chart-label-area .tui-chart-label>span{line-height:1.2}.tui-chart .tui-chart-axis-area.vertical{top:10px}.tui-chart .tui-chart-axis-area.vertical .tui-chart-title-area{text-align:center;white-space:nowrap;top:0}.tui-chart .tui-chart-axis-area.vertical .tui-chart-title-area.rotation{-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.tui-chart .tui-chart-axis-area.vertical .tui-chart-tick-area{right:0}.tui-chart .tui-chart-axis-area.vertical .tui-chart-tick-area .tui-chart-tick{right:1px;width:5px;height:1px}.tui-chart .tui-chart-axis-area.vertical .tui-chart-tick-area .tui-chart-tick-line{left:auto;right:0;width:1px;background-color:#000;position:absolute}.tui-chart .tui-chart-axis-area.vertical .tui-chart-label-area{right:10px}.tui-chart .tui-chart-axis-area.vertical .tui-chart-label-area .tui-chart-label{left:0;width:100%;text-align:right;white-space:nowrap}.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-title-area{text-align:center;white-space:nowrap;top:0}.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-title-area.rotation{-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-label-area,.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-tick-area{left:0}.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-label-area .tui-chart-label{text-align:left;padding-right:0;padding-left:10px}.tui-chart .tui-chart-axis-area.vertical.center .tui-chart-title-area{width:100%!important;-webkit-transform:rotate(0deg);transform:rotate(0deg);filter:none;top:auto}.tui-chart .tui-chart-axis-area.vertical.center .tui-chart-label-area{left:0;width:100%!important}.tui-chart .tui-chart-axis-area.vertical.center .tui-chart-label-area .tui-chart-label{text-align:center}.tui-chart .tui-chart-axis-area.vertical.center .tui-chart-tick-area.opposite-side,.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-tick-area{border-right:none}.tui-chart .tui-chart-axis-area.vertical.center .tui-chart-tick-area.opposite-side .tui-chart-tick,.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-tick-area .tui-chart-tick{left:1px}.tui-chart .tui-chart-axis-area.vertical.center .tui-chart-tick-area.opposite-side .tui-chart-tick-line,.tui-chart .tui-chart-axis-area.vertical.right .tui-chart-tick-area .tui-chart-tick-line{right:auto;left:0}.tui-chart .tui-chart-axis-area.horizontal{right:10px}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-title-area{bottom:0;width:100%;text-align:center}.tui-chart .tui-chart-axis-area.horizontal.division .tui-chart-title-area{left:0;width:auto}.tui-chart .tui-chart-axis-area.horizontal.division .tui-chart-title-area.right{left:auto;right:0}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area,.tui-chart .tui-chart-axis-area.horizontal .tui-chart-tick-area{left:0}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-tick-area .tui-chart-tick-line{top:0;height:1px;background-color:#000;position:absolute}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-tick-area .tui-chart-ticks{width:100%;position:absolute;left:0;top:0}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-tick-area .tui-chart-tick{top:0;width:1px;height:6px}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label{top:10px;text-align:center;word-wrap:break-word;word-break:keep-all}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation{text-align:right;white-space:nowrap}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation span{position:absolute;right:0;top:0}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation25{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation25 span{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.9063077870366499, M12=0.42261826174069944, M21=-0.42261826174069944, M22=0.9063077870366499)"}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation45{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation45 span{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=0.7071067811865475, M21=-0.7071067811865475, M22=0.7071067811865476)"}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation65{-webkit-transform:rotate(-65deg);transform:rotate(-65deg)}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation65 span{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.42261826174069944, M12=0.9063077870366499, M21=-0.9063077870366499, M22=0.42261826174069944)"}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation85{-webkit-transform:rotate(-85deg);transform:rotate(-85deg)}.tui-chart .tui-chart-axis-area.horizontal .tui-chart-label-area .tui-chart-label.tui-chart-xaxis-rotation85 span{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.08715574274765814, M12=0.9961946980917455, M21=-0.9961946980917455, M22=0.08715574274765814)"}.tui-chart .tui-chart-plot-area{position:absolute;right:10px;top:10px;z-index:-100}.tui-chart .tui-chart-plot-area .tui-chart-plot-optional-lines-area{left:0;top:0;width:100%;height:100%;position:absolute}.tui-chart .tui-chart-plot-area .tui-chart-plot-lines-area{width:100%;height:100%;position:relative}.tui-chart .tui-chart-plot-area .tui-chart-plot-line{background-color:#ccc;position:absolute}.tui-chart .tui-chart-plot-area .tui-chart-plot-line.vertical{top:0;width:1px}.tui-chart .tui-chart-plot-area .tui-chart-plot-line.horizontal{left:0;height:1px}.tui-chart .tui-chart-series-area{z-index:200;position:absolute;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.tui-chart .tui-chart-series-area:first-child{overflow:visible}.tui-chart .tui-chart-series-area .tui-chart-series-block-area{position:absolute;left:10px;top:10px}.tui-chart .tui-chart-series-area .tui-chart-series-block-area .tui-chart-series-block{position:absolute}.tui-chart .tui-chart-series-area .tui-chart-series-label-area{position:absolute;overflow:visible;left:0;top:0;display:none;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);opacity:0}.tui-chart .tui-chart-series-area .tui-chart-series-label-area .tui-chart-series-label{position:absolute;cursor:default;text-align:center;white-space:nowrap;text-shadow:#fff 0 0 3px}.tui-chart .tui-chart-series-area .tui-chart-series-label-area.show{display:block}.tui-chart .tui-chart-series-area .tui-chart-series-label-area.opacity{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);opacity:1}.tui-chart .tui-chart-series-area .tui-chart-series-graph-area{position:absolute;left:0;top:0}.tui-chart .tui-chart-zoom-area{z-index:1500;position:absolute;border-radius:1px;background-clip:padding-box}.tui-chart .tui-chart-zoom-area>.tui-chart-zoom-btn{width:24px;height:24px;display:block;background-color:#f4f4f4;border-radius:1px;cursor:pointer;margin-top:5px}.tui-chart .tui-chart-zoom-area>.tui-chart-zoom-btn.zoom-in{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEX19fX19fVVVVX09PSSNEQ7AAAAAnRSTlO0tU0x4YcAAABCSURBVAjXY6hh+AOGb4D4/weGXx9AJBwhuP//Q/BvKIbx//9FYgPxeyheBaX/Y2A81L/9YGrVKmQelMKioR5E/gEA8IGRuVetr4kAAAAASUVORK5CYII=)}.tui-chart .tui-chart-zoom-area>.tui-chart-zoom-btn.zoom-in:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEXu7u7u7u5VVVXu7u6LRCi7AAAAAnRSTlO0tU0x4YcAAABCSURBVAjXY6hh+AOGb4D4/weGXx9AJBwhuP//Q/BvKIbx//9FYgPxeyheBaX/Y2A81L/9YGrVKmQelMKioR5E/gEA8IGRuVetr4kAAAAASUVORK5CYII=)}.tui-chart .tui-chart-zoom-area>.tui-chart-zoom-btn.zoom-in:active{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEXm5ubm5uZVVVXl5eUH/eecAAAAAnRSTlO0tU0x4YcAAABCSURBVAjXY6hh+AOGb4D4/weGXx9AJBwhuP//Q/BvKIbx//9FYgPxeyheBaX/Y2A81L/9YGrVKmQelMKioR5E/gEA8IGRuVetr4kAAAAASUVORK5CYII=)}.tui-chart .tui-chart-zoom-area>.tui-chart-zoom-btn.zoom-out{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEX19fX19fVVVVX09PSSNEQ7AAAAAnRSTlO0tU0x4YcAAAAuSURBVAjXY6hh+AOH/z8w/PoAIuEIwf3/Hwf+i118FS71/wlTq1YRp7IeRP4BADPMksSlXC3ZAAAAAElFTkSuQmCC)}.tui-chart .tui-chart-zoom-area>.tui-chart-zoom-btn.zoom-out:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEXu7u7u7u5VVVXu7u6LRCi7AAAAAnRSTlO0tU0x4YcAAAAuSURBVAjXY6hh+AOH/z8w/PoAIuEIwf3/Hwf+i118FS71/wlTq1YRp7IeRP4BADPMksSlXC3ZAAAAAElFTkSuQmCC)}.tui-chart .tui-chart-zoom-area>.tui-chart-zoom-btn.zoom-out:active{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEXm5ubm5uZVVVXl5eUH/eecAAAAAnRSTlO0tU0x4YcAAAAuSURBVAjXY6hh+AOH/z8w/PoAIuEIwf3/Hwf+i118FS71/wlTq1YRp7IeRP4BADPMksSlXC3ZAAAAAElFTkSuQmCC)}.tui-chart .tui-chart-series-custom-event-area{z-index:1000;position:absolute;left:0;top:0}.tui-chart .tui-chart-series-custom-event-area.hide{display:none}.tui-chart .tui-chart-series-custom-event-area.drag{cursor:move}.tui-chart .tui-chart-series-custom-event-area .tui-chart-drag-selection{top:10px;height:100%;background-color:gray;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:alpha(opacity=30);opacity:.3;position:absolute;display:none}.tui-chart .tui-chart-series-custom-event-area .tui-chart-drag-selection.show{display:block}.tui-chart .tui-chart-series-custom-event-area .tui-chart-reset-zoom-btn{position:absolute;left:20px;top:20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAAGXcA1uAAAAAXNSR0IArs4c6QAAAclJREFUSA21VT2LAjEQnZUFwZ9haWWvtcVhJwpiZSdY+AMEOxs7C8FCsBfERq/QVntbC/0B1iooQs43XkKym+wROAObTN7Mm49kltD1el1dLheBLyWE+JrP54QRAGEpukkBbTabrHSbsfp3YgpkSZOrQdcZToVypVtDVgr4lv4NxXQ6ZdJkMuGVZOG9Xo8PQO6dwZ2Kt7/4rJKKq+xIjKBXstlsaDAYGMwYAVoYYuRyOToejyzL6fM1eEUIguDbi4A6rEXLAm2rNyGMetHvoVwuU6VSMU1k82BFQy0WC9VU1WpVydLOSOl0OlGhUGCPsj31iKyQTKzb7VbU63VxPp/Zc6PREIfDwYgSO9b9fk/j8Zg/M/n3LkawGemYUYOucMneBO+UXJFduHdGLkcu/OMBYq1qywRXv16vCY2Gkc1mqVQqUT6ft5kbWOIdwPFwOKQwDKlWq6ku3u12NJvN6Pl8UqfTSQyUGKDVatH9fqfRaESZTMbI7Ha7UbvdpnQ67WxqEBLvAEeBgYz18Xg8qN/vM4QEut0uAbONxApAwLO6XC4VV75FAF7/MuPFYlHpo8KfAaIE333iEfk6s9l/PgCeElvk/8Bevlc/uNwgcfw7KQUAAAAASUVORK5CYII=);border-radius:1px;font-size:11px;width:24px;height:24px;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.tui-chart .tui-chart-series-custom-event-area .tui-chart-reset-zoom-btn:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAAGgrv1cAAAAM1BMVEXu7u7u7u5VVVVZWVlbW1tcXFxubm59fX2Ojo6enp6rq6u0tLTAwMDU1NTk5OTo6Oju7u5AkNcdAAAAAnRSTlO0tU0x4YcAAACCSURBVCjPtY/BDoQgDERhsCKI+P7/az0IJuqa9bBLQuibmbbBeXAkHLSro94fNeUkdk87acJBvEWeQJCPtDLL8L2nHf8u1kZLqUPMoA5WmaQGJVSGpfcUezX6I/zKKNEslptRFHKtOahcDFMFqLKLEZWBdZTG9bwjSQLm+Q//8A/6BjkPISqrVth/AAAAAElFTkSuQmCC)}.tui-chart .tui-chart-series-custom-event-area .tui-chart-reset-zoom-btn:active{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAAGgrv1cAAAAM1BMVEXm5ubm5uZVVVVYWFhaWlpcXFxsbGx6enqLi4uampqmpqaurq66urrNzc3c3Nzg4ODl5eUljSS/AAAAAnRSTlO0tU0x4YcAAACCSURBVCjPtY/BDoQgDERhsCKI+P7/az0IJuqa9bBLQuibmbbBeXAkHLSro94fNeUkdk87acJBvEWeQJCPtDLL8L2nHf8u1kZLqUPMoA5WmaQGJVSGpfcUezX6I/zKKNEslptRFHKtOahcDFMFqLKLEZWBdZTG9bwjSQLm+Q//8A/6BjkPISqrVth/AAAAAElFTkSuQmCC)}.tui-chart .tui-chart-legend-rect{margin-top:2px;width:10px;height:10px}.tui-chart .tui-chart-legend-rect.line{padding:3px 0}.tui-chart .tui-chart-chartExportMenu-area{position:absolute;font-family:Verdana;margin:0;z-index:1001}.tui-chart .tui-chart-chartExportMenu-area .tui-chart-chartExportMenu-button{position:absolute;width:24px;height:24px;right:0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEX19fX19fVVVVX09PSSNEQ7AAAAAnRSTlO0tU0x4YcAAAAwSURBVAjXY6hh+AOGb4Dw/weGfx9AJBb0/z8O/BeV/x4HjcDYqH/7ieUhU/Ug8g8ALeuSuXF73FYAAAAASUVORK5CYII=);background-color:#f4f4f4;border:0;font-size:12px;padding:3px 5px;margin:0;cursor:pointer}.tui-chart .tui-chart-chartExportMenu-area .tui-chart-chartExportMenu-button:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEXu7u7u7u5VVVXu7u6LRCi7AAAAAnRSTlO0tU0x4YcAAAAwSURBVAjXY6hh+AOGb4Dw/weGfx9AJBb0/z8O/BeV/x4HjcDYqH/7ieUhU/Ug8g8ALeuSuXF73FYAAAAASUVORK5CYII=)}.tui-chart .tui-chart-chartExportMenu-area .tui-chart-chartExportMenu-button:active{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAAHqHuX9AAAADFBMVEXm5ubm5uZVVVXl5eUH/eecAAAAAnRSTlO0tU0x4YcAAAAwSURBVAjXY6hh+AOGb4Dw/weGfx9AJBb0/z8O/BeV/x4HjcDYqH/7ieUhU/Ug8g8ALeuSuXF73FYAAAAASUVORK5CYII=)}.tui-chart .tui-chart-chartExportMenu-area.menu-opened .tui-chart-chartExportMenu-button{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAAGXcA1uAAAAAXNSR0IArs4c6QAAAU5JREFUSA3NVTuOhDAMNSMEDeICnI6CK1AhGqi4Apegmb0RHABBAULaxZl1FJPPDEisNlJix37Pjp0IYJ7n5zRN3zg9XLquAxwPsf4uwkMG5mEbBiM4SoZK01T6rAyrg4WScdQc4zgCThqSsZcHOGn4pERRRKqQ1uRWB6MrG5lbsTlVjYCVYMeGYRBSrQwjaQRn+N15fw2nMnie93WKcKno013SCEVRyM6qOhnlYyIDShOQ/MaisywT/rZtCSelRjhGr+taglHRakAjgo5AtOPQMrzM9tWYwQ63HMlFOH0kVzCT73QJpiAu2/9IsK6r8ZA2uwo2Pm0CLMsCVVVB3/eQJAnkeQ5xHIsvcNM00l6WJQRBQDQmP7pk/PBRQN/3Yds2lpBFPGxuvwNnBX/WIrxMU4/xAGEYHprCt84KOPTa7vY7eOCv5NrZ3rP22M8fyPG11kibO+MAAAAASUVORK5CYII=")}.tui-chart .tui-chart-chartExportMenu-area.menu-opened .tui-chart-chartExportMenu-button:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAFlXhBdAAAAIVBMVEXu7u7u7u5VVVVZWVlvb2+hoaHV1dXh4eHn5+fo6Oju7u75trgQAAAAAnRSTlO0tU0x4YcAAABlSURBVBjTY5BawLA0AIRWLYChVasYVi1aBaFhuByI06A0RAyFKkqqQqJWoStZiE0QRHktAVMuLmBqsRUyDyqHVR8CEOCsBCMIZ4WT+3InT5jMcicj91XYOKjKgLpXELBHCsFeAACm5rR2c72cZwAAAABJRU5ErkJggg==)}.tui-chart .tui-chart-chartExportMenu-area.menu-opened .tui-chart-chartExportMenu-button:active{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAFlXhBdAAAAIVBMVEXm5ubm5uZVVVVZWVltbW2dnZ3Ozs7Z2dnf39/g4ODl5eV33AFxAAAAAnRSTlO0tU0x4YcAAABlSURBVBjTY5BawLA0AIRWLYChVasYVi1aBaFhuByI06A0RAyFKkqqQqJWoStZiE0QRHktAVMuLmBqsRUyDyqHVR8CEOCsBCMIZ4WT+3InT5jMcicj91XYOKjKgLpXELBHCsFeAACm5rR2c72cZwAAAABJRU5ErkJggg==)}.tui-chart .tui-chart-chartExportMenu-area ul{display:none;position:absolute;top:28px;right:0;width:150px;background:#fff;border:1px solid #bab9ba;font-size:11px;padding:0;margin:0}.tui-chart .tui-chart-chartExportMenu-area ul>li{margin:0;border-collapse:collapse;text-align:center;list-style-type:none}.tui-chart .tui-chart-chartExportMenu-area ul>li.tui-chart-chartExportMenu-head{padding:10px;text-align:left;background-color:#f3f3f3;margin:1px 1px 0 0}.tui-chart .tui-chart-chartExportMenu-area ul>li.tui-chart-chartExportMenu-body{display:inline-block;width:100%;padding:7px 0}.tui-chart .tui-chart-chartExportMenu-area ul>li.tui-chart-chartExportMenu-body>li{padding:12px 3px;line-height:1;cursor:pointer;width:50%;float:left}.tui-chart .tui-chart-chartExportMenu-area ul>li.tui-chart-chartExportMenu-body>li:hover{font-weight:700}.tui-chart .tui-chart-legend-area{z-index:400;position:absolute;padding:10px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.tui-chart .tui-chart-legend-area .tui-chart-legend{clear:both}.tui-chart .tui-chart-legend-area .tui-chart-legend>div{float:left}.tui-chart .tui-chart-legend-area .tui-chart-legend .tui-chart-legend-checkbox-area{width:20px;height:20px;position:relative;box-sizing:border-box}.tui-chart .tui-chart-legend-area .tui-chart-legend .tui-chart-legend-checkbox-area input{left:2px;top:2px;*left:-2px;*top:-2px;position:absolute;padding:0;margin:0}.tui-chart .tui-chart-legend-area .tui-chart-legend .tui-chart-legend-label{padding:2px 0 2px 4px;cursor:pointer;box-sizing:content-box;line-height:1}.tui-chart .tui-chart-legend-area .tui-chart-legend.unselected .tui-chart-legend-label,.tui-chart .tui-chart-legend-area .tui-chart-legend.unselected .tui-chart-legend-rect{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:alpha(opacity=30);opacity:.3}.tui-chart .tui-chart-legend-area .tui-chart-legend-tick-area{position:absolute;left:10px;top:10px}.tui-chart .tui-chart-legend-area .tui-chart-legend-tick-area .tui-chart-map-legend-tick{width:15px;height:1px;background-color:#ccc;position:absolute;left:0}.tui-chart .tui-chart-legend-area .tui-chart-legend-tick-area .tui-chart-map-legend-tick-label{position:absolute;left:30px;text-align:left}.tui-chart .tui-chart-legend-area .tui-chart-legend-tick-area.horizontal .tui-chart-map-legend-tick{top:0;width:1px;height:15px}.tui-chart .tui-chart-legend-area .tui-chart-legend-tick-area.horizontal .tui-chart-map-legend-tick-label{top:30px}.tui-chart .tui-chart-legend-area .tui-chart-map-legend-wedge{position:absolute;width:19px;height:4px;border-left:2px solid #777;border-right:2px solid #777;left:8px;top:30px;display:none}.tui-chart .tui-chart-legend-area .tui-chart-map-legend-wedge.show{display:block}.tui-chart .tui-chart-legend-area.horizontal{padding-left:0;padding-right:0}.tui-chart .tui-chart-legend-area.horizontal .tui-chart-legend{clear:none;float:left;white-space:nowrap}.tui-chart .tui-chart-circle-legend-area{position:absolute;z-index:400}.tui-chart .tui-chart-circle-legend-area .tui-chart-circle-legend-label-area{position:absolute;left:0;top:0}.tui-chart .tui-chart-circle-legend-area .tui-chart-circle-legend-label-area .tui-chart-circle-legend-label{position:absolute;font-size:9px;white-space:nowrap;text-shadow:#fff 0 0 3px}.tui-chart .tui-chart-tooltip-area{position:absolute;z-index:501}.tui-chart .tui-chart-tooltip-area *{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip{z-index:100;position:absolute;display:none;user-select:none;font-size:12px;font-weight:400;color:#fff}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip.show{display:block}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip{border-radius:3px;background-clip:padding-box;background-color:#5f5f5f;background-color:rgba(85,85,85,.95)}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>*{text-align:left;white-space:nowrap}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>.tui-chart-tooltip-head{padding:8px 15px;border-bottom:1px solid #565656;font-size:13px;font-weight:700;border-bottom:1px solid #000;border-bottom:1px solid rgba(0,0,0,.1)}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>table{width:100%;border-spacing:0;border-collapse:separate}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>table tr{padding-bottom:5px}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>.tui-chart-tooltip-body{border-bottom:1px solid #000;border-bottom:1px solid rgba(0,0,0,.1);padding:11px 15px}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>.tui-chart-tooltip-body span{display:inline-block;height:10px}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>.tui-chart-tooltip-body span.tui-chart-legend-rect{width:10px;margin-right:8px;vertical-align:text-top}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>.tui-chart-tooltip-body span.tui-chart-legend-rect.line{padding:0}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip>.tui-chart-tooltip-body .tui-chart-tooltip-value{padding-left:44px;text-align:right}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>*{text-align:left;position:relative;padding-left:18px;padding-top:4px;padding-bottom:4px}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>table{border-spacing:0;border-collapse:separate}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>table tr{padding-bottom:5px}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>table tr:last-child{padding-bottom:0}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>.tui-chart-tooltip-body{padding:11px 15px;font-size:12px;font-weight:lighter}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>.tui-chart-tooltip-body>span{display:inline-block}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>.tui-chart-tooltip-body .tui-chart-tooltip-value{padding-left:44px;text-align:right}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip .tui-chart-legend-rect{position:relative;left:0;top:-2px;margin-right:5px}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>.tui-chart-tooltip-head{padding:8px 15px;text-align:left}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip.tui-chart-group-tooltip>.tui-chart-tooltip-type{padding-left:7px}.tui-chart .tui-chart-tooltip-area .tui-chart-tooltip .tui-chart-default-tooltip .hide{display:none}.tui-chart .tui-chart-tooltip-area .tui-chart-group-tooltip-sector{z-index:50;position:absolute;background-color:#aaa;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:alpha(opacity=30);opacity:.3;display:none}.tui-chart .tui-chart-tooltip-area .tui-chart-group-tooltip-sector.show{display:block}.tui-chart.tui-map-chart .tui-chart-series-area{overflow:hidden}.tui-chart.tui-map-chart .tui-chart-tooltip-area .tui-chart-default-tooltip>:first-child{font-weight:400}.tui-chart.tui-treemap-chart .tui-chart-reset-zoom-btn{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAFlXhBdAAAAMFBMVEX19fX19fVVVVVbW1tgYGBkZGRvb2+CgoKNjY2QkJC4uLi5ubnZ2dnj4+Pu7u709PQ6Nl8lAAAAAnRSTlO0tU0x4YcAAABxSURBVBjTY5D/wPDtA8N/GPoEJP//Z/j/Ph5CI+O/QKwB5yNTv5WU7oN53/sx5EDgIzZBIPVHH0x9VlIBC87/BJG7BKaUYv//x6EPCRDgvETiLFZSUu2Fcf4k/f9b1I+k51I8jPNJSUnlPgn2yCPYHwBOuQ5rod0HXAAAAABJRU5ErkJggg==)}.tui-chart.tui-treemap-chart .tui-chart-reset-zoom-btn:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAFlXhBdAAAAMFBMVEXu7u7u7u5VVVVbW1tfX19kZGRubm6BgYGLi4uOjo60tLS1tbXU1NTd3d3o6Oju7u6bzfGZAAAAAnRSTlO0tU0x4YcAAABxSURBVBjTY5D/wPDtA8N/GPoEJP//Z/j/Ph5CI+O/QKwB5yNTv5WU7oN53/sx5EDgIzZBIPVHH0x9VlIBC87/BJG7BKaUYv//x6EPCRDgvETiLFZSUu2Fcf4k/f9b1I+k51I8jPNJSUnlPgn2yCPYHwBOuQ5rod0HXAAAAABJRU5ErkJggg==)}.tui-chart.tui-treemap-chart .tui-chart-reset-zoom-btn:active{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAFlXhBdAAAAMFBMVEXm5ubm5uZVVVVaWlpfX19jY2NsbGx+fn6Hh4eLi4uurq6vr6/Nzc3V1dXg4ODl5eWoWcyYAAAAAnRSTlO0tU0x4YcAAABxSURBVBjTY5D/wPDtA8N/GPoEJP//Z/j/Ph5CI+O/QKwB5yNTv5WU7oN53/sx5EDgIzZBIPVHH0x9VlIBC87/BJG7BKaUYv//x6EPCRDgvETiLFZSUu2Fcf4k/f9b1I+k51I8jPNJSUnlPgn2yCPYHwBOuQ5rod0HXAAAAABJRU5ErkJggg==)}.tui-chart-size-check-element{clear:both;position:absolute;word-wrap:break-word;word-break:keep-all;top:100000px;left:100000px;width:1000px;height:100px;padding:0;line-height:1}.tui-chart-size-check-element>span{display:inline-block;box-sizing:border-box;text-align:center;padding:0}:root .tui-chart .tui-chart-axis-area.horizontal .tui-chart-label.tui-chart-xaxis-rotation25 span,:root .tui-chart .tui-chart-axis-area.horizontal .tui-chart-label.tui-chart-xaxis-rotation45 span,:root .tui-chart .tui-chart-axis-area.horizontal .tui-chart-label.tui-chart-xaxis-rotation65 span,:root .tui-chart .tui-chart-axis-area.horizontal .tui-chart-label.tui-chart-xaxis-rotation85 span,:root .tui-chart .tui-chart-axis-area.vertical .tui-chart-title-area{filter:none \0}.box-shadow{filter:shadow(0 4px 4px)} \ No newline at end of file diff --git a/dist/tui-chart.min.js b/dist/tui-chart.min.js index 5fa0a27a2..f466f9049 100755 --- a/dist/tui-chart.min.js +++ b/dist/tui-chart.min.js @@ -2,10 +2,10 @@ * tui-chart.min * @fileoverview tui-chart * @author NHN Ent. FE Development Lab - * @version 3.0.0 + * @version 3.0.1 * @license MIT * @link https://github.com/nhnent/tui.chart - * bundle created at "Tue Mar 13 2018 16:11:03 GMT+0900 (KST)" + * bundle created at "Tue Mar 13 2018 16:15:39 GMT+0900 (KST)" */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("raphael"),require("tui-code-snippet")):"function"==typeof define&&define.amd?define(["raphael","tui-code-snippet"],e):"object"==typeof exports?exports.chart=e(require("raphael"),require("tui-code-snippet")):(t.tui=t.tui||{},t.tui.chart=e(t.Raphael,t.tui&&t.tui.util))}(this,function(__WEBPACK_EXTERNAL_MODULE_3__,__WEBPACK_EXTERNAL_MODULE_6__){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="/dist/",e(0)}([function(t,e,i){"use strict";var n=i(2),r=i(29);i(147),r.registerPlugin(n.name,n.plugins,n.callback),r.renderUtil=i(7),r.arrayUtil=i(10),r.colorutil=i(138),t.exports=r},,function(t,e,i){"use strict";function n(t){var e=document.createElementNS("http://www.w3.org/2000/svg","filter"),i=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),n=document.createElementNS("http://www.w3.org/2000/svg","feFlood"),r=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),o=document.createElementNS("http://www.w3.org/2000/svg","feMorphology"),a=document.createElementNS("http://www.w3.org/2000/svg","feMerge"),s=document.createElementNS("http://www.w3.org/2000/svg","feMergeNode"),h=document.createElementNS("http://www.w3.org/2000/svg","feMergeNode");e.id="glow",n.setAttribute("result","flood"),n.setAttribute("flood-color","#ffffff"),n.setAttribute("flood-opacity","0.5"),r.setAttribute("in","flood"),r.setAttribute("result","mask"),r.setAttribute("in2","SourceGraphic"),r.setAttribute("operator","in"),o.setAttribute("in","mask"),o.setAttribute("result","dilated"),o.setAttribute("operator","dilate"),o.setAttribute("radius","2"),i.setAttribute("in","dilated"),i.setAttribute("result","blurred"),i.setAttribute("stdDeviation","1"),s.setAttribute("in","blurred"),h.setAttribute("in","SourceGraphic"),e.appendChild(n),e.appendChild(r),e.appendChild(o),e.appendChild(i),e.appendChild(a),a.appendChild(s),a.appendChild(h),t.defs.appendChild(e)}function r(t){var e=document.createElementNS("http://www.w3.org/2000/svg","filter"),i=document.createElementNS("http://www.w3.org/2000/svg","feOffset"),n=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),r=document.createElementNS("http://www.w3.org/2000/svg","feBlend");e.setAttributeNS(null,"id","shadow"),e.setAttributeNS(null,"x","-15%"),e.setAttributeNS(null,"y","-15%"),e.setAttributeNS(null,"width","180%"),e.setAttributeNS(null,"height","180%"),i.setAttributeNS(null,"result","offOut"),i.setAttributeNS(null,"in","SourceAlpha"),i.setAttributeNS(null,"dx","2"),i.setAttributeNS(null,"dy","2"),n.setAttributeNS(null,"result","blurOut"),n.setAttributeNS(null,"in","offOut"),n.setAttributeNS(null,"stdDeviation","2"),r.setAttributeNS(null,"in","SourceGraphic"),r.setAttributeNS(null,"in2","blurOut"),r.setAttributeNS(null,"mode","normal"),e.appendChild(i),e.appendChild(n),e.appendChild(r),t.defs.appendChild(e)}var o=i(3),a=i(4),s=i(11),h=i(12),l=i(13),u=i(15),c=i(17),d=i(18),p=i(19),f=i(20),m=i(22),g=i(23),_=i(24),T=i(25),v=i(26),A=i(27),y=i(28),x={bar:a,boxplot:s,bullet:h,column:a,line:l,area:u,pie:c,bubble:p,scatter:p,heatmap:f,treemap:f,map:m,radial:d,legend:g,mapLegend:_,circleLegend:T,radialPlot:y,title:v,axis:A},D=function(t,e){var i=o(t,e.width,e.height),a=i.rect(0,0,e.width,e.height);return i.raphael.svg&&(n(i),r(i)),i.pushDownBackgroundToBottom=function(){a.toBack()},i.changeChartBackgroundColor=function(t){a.attr({fill:t})},i.changeChartBackgroundOpacity=function(t){a.attr({"fill-opacity":t})},i.resizeBackground=function(t,e){a.attr({width:t,height:e})},a.attr({fill:"#fff","stroke-width":0}),i};t.exports={name:"Raphael",plugins:x,callback:D}},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE_3__},function(t,e,i){"use strict";var n=i(5),r=i(6),o=i(3),a=700,s=1,h=.3,l=.2,u=8,c=r.defineClass({render:function(t,e){var i=e.groupBounds;return i?(this.paper=t,this.theme=e.theme,this.seriesDataModel=e.seriesDataModel,this.chartType=e.chartType,this.paper.setStart(),this.options=e.options,this.theme=e.theme,this.groupBars=this._renderBars(i),this.groupBorders=this._renderBarBorders(i),this.overlay=this._renderOverlay(),this.groupBounds=i,this.paper.setFinish()):null},_renderOverlay:function(){var t={width:1,height:1,left:0,top:0},e={"fill-opacity":0},i=this._renderBar(t,"#fff",e);return i.node.setAttribute("class","auto-shape-rendering"),i},_renderBar:function(t,e,i){var o;return t.width<0||t.height<0?null:(o=n.renderRect(this.paper,t,r.extend({fill:e,stroke:"none"},i)).toFront(),o.node.setAttribute("class","auto-shape-rendering"),o)},_renderBars:function(t){var e=this,i=this.theme.colors,n=this.options.colorByPoint,o=r.map(t,function(t,o){return r.map(t,function(t,r){var a,s,h;return t?(h=e.seriesDataModel.getSeriesItem(o,r),a=n?i[o]:i[r],s=e._renderBar(t.start,a),{rect:s,color:a,bound:t.end,item:h,groupIndex:o,index:r,isRange:h.isRange}):null})});return o},_makeRectPoints:function(t){return{leftTop:{left:Math.ceil(t.left),top:Math.ceil(t.top)},rightTop:{left:Math.ceil(t.left+t.width),top:Math.ceil(t.top)},rightBottom:{left:Math.ceil(t.left+t.width),top:Math.ceil(t.top+t.height)},leftBottom:{left:Math.ceil(t.left),top:Math.ceil(t.top+t.height)}}},_makeTopLinePath:function(t,e,i){var o,a=null,s=i.value;return("bar"===e||s>=0||i.isRange)&&(o=r.extend({},t.leftTop),o.left-="column"===e||s<0?1:0,a=n.makeLinePath(o,t.rightTop).join(" ")),a},_makeRightLinePath:function(t,e,i){var r=null;return("column"===e||i.value>=0||i.isRange)&&(r=n.makeLinePath(t.rightTop,t.rightBottom).join(" ")),r},_makeBottomLinePath:function(t,e,i){var r=null;return("bar"===e||i.value<0||i.isRange)&&(r=n.makeLinePath(t.leftBottom,t.rightBottom).join(" ")),r},_makeLeftLinePath:function(t,e,i){var r=null;return("column"===e||i.value<0||i.isRange)&&(r=n.makeLinePath(t.leftTop,t.leftBottom).join(" ")),r},_makeBorderLinesPaths:function(t,e,i){var n=this._makeRectPoints(t),o={top:this._makeTopLinePath(n,e,i),right:this._makeRightLinePath(n,e,i),bottom:this._makeBottomLinePath(n,e,i),left:this._makeLeftLinePath(n,e,i)};return r.filter(o,function(t){return t})},_renderBorderLines:function(t,e,i,o){var a=this,s=this._makeBorderLinesPaths(t,i,o),h={};return r.forEach(s,function(t,i){h[i]=n.renderLine(a.paper,t,e,1)}),h},_renderBarBorders:function(t){var e,i=this,n=this.theme.borderColor;return n?e=r.map(t,function(t,e){return r.map(t,function(t,r){var o;return t?(o=i.seriesDataModel.getSeriesItem(e,r),i._renderBorderLines(t.start,n,i.chartType,o)):null})}):null},_animateRect:function(t,e){t.animate({x:e.left,y:e.top,width:e.width,height:e.height},a,">")},_animateBorders:function(t,e,i,n){var o=this._makeBorderLinesPaths(e,i,n);r.forEach(t,function(t,e){t.animate({path:o[e]},a,">")})},animate:function(t){var e=this,i=this.groupBorders||[];n.forEach2dArray(this.groupBars,function(t,n,r){var o=i[n]&&i[n][r];t&&(e._animateRect(t.rect,t.bound),o&&e._animateBorders(o,t.bound,e.chartType,t.item))}),t&&(this.callbackTimeout=setTimeout(function(){t(),delete e.callbackTimeout},a))},showAnimation:function(t){var e=this.groupBars[t.groupIndex][t.index],i=e.bound;this.overlay.attr({width:i.width+u,height:i.height+u,stroke:"#fff","stroke-width":"1",x:i.left-4,y:i.top-4,"fill-opacity":1}),this.resortBarIndex(t.groupIndex),this.overlay.toFront(),e.rect.toFront(),this.labelSet&&this.labelSet.toFront(),this.overlay.node.setAttribute("filter","url(#shadow)")},hideAnimation:function(t){this.resortBarIndex(t.groupIndex),this.overlay.attr({width:1,height:1,x:0,y:0,"fill-opacity":0}),this.labelSet&&this.labelSet.toFront()},resortBarIndex:function(t){r.forEach(this.groupBars[t],function(t){t.rect.toFront()})},_updateRectBound:function(t,e){t.attr({x:e.left,y:e.top,width:e.width,height:e.height})},resize:function(t){var e=this,i=this.groupBorders||[],r=t.dimension,o=t.groupBounds;this.groupBounds=o,this.paper.setSize(r.width,r.height),n.forEach2dArray(this.groupBars,function(t,r,a){var s,h;t&&(s=i[r]&&i[r][a],h=o[r][a].end,t.bound=h,n.updateRectBound(t.rect,h),s&&e._updateBordersPath(s,h,e.chartType,t.item))})},_changeBordersColor:function(t,e){r.forEach(t,function(t){t.attr({stroke:e})})},_changeBarColor:function(t,e,i){var n,r=this.groupBars[t.groupIndex][t.index];r.rect.attr({fill:e}),i&&(n=this.groupBorders[t.groupIndex][t.index],this._changeBordersColor(n,i))},selectSeries:function(t){var e,i=this.groupBars[t.groupIndex][t.index],r=o.color(i.color),a=this.theme.selectionColor,s=a||n.makeChangedLuminanceColor(r.hex,l),h=this.theme.borderColor;h&&(e=o.color(h),h=n.makeChangedLuminanceColor(e.hex,l)),this._changeBarColor(t,s,h)},unselectSeries:function(t){var e=this.groupBars[t.groupIndex][t.index],i=this.theme.borderColor;this._changeBarColor(t,e.color,i)},selectLegend:function(t){var e=this.groupBorders||[],i=r.isNull(t);n.forEach2dArray(this.groupBars,function(n,o,a){var l,u;n&&(l=e[o]&&e[o][a],u=i||t===a?s:h,n.rect.attr({"fill-opacity":u}),l&&r.forEach(l,function(t){t.attr({"stroke-opacity":u})}))})},renderSeriesLabel:function(t,e,i,o,a){var s=a||"column"===this.chartType?"middle":"start",h={"font-size":o.fontSize,"font-family":o.fontFamily,"font-weight":o.fontWeight,fill:o.color,opacity:0,"text-anchor":s},l=this.labelSet=t.set();return r.forEach(i,function(i,o){r.forEach(i,function(i,r){var a,s=e[o][r],u=n.renderText(t,s.end,i.end,h),c=u.node.style;c.userSelect="none",c.cursor="default",l.push(u),s.start&&(a=n.renderText(t,s.start,i.start,h),a.node.style.userSelect="none",a.node.style.cursor="default",l.push(a))})}),l}});t.exports=c},function(t,e,i){"use strict";function n(t){return r.isExisty(t)&&"number"==typeof t}var r=i(6),o=i(7),a=i(3),s={makeLinePath:function(t,e,i){var n,o=[t.left,t.top],a=[e.left,e.top];return i=i||1,n=i%2/2,r.forEachArray(o,function(t,e){t===a[e]&&(o[e]=a[e]=Math.round(t)-n)}),["M"].concat(o).concat("L").concat(a)},renderLine:function(t,e,i,n){var o=t.path([e]),a={stroke:i,"stroke-width":r.isUndefined(n)?2:n,"stroke-linecap":"butt"};return"transparent"===i&&(a.stroke="#fff",a["stroke-opacity"]=0),o.attr(a).node.setAttribute("class","auto-shape-rendering"),o},getEllipsisText:function(t,e,i){for(var n=t.split(""),r=n.length,o=this.getRenderedTextSize(".",i.fontSize,i.fontFamily).width,a=2*o,s="",h=0;h=e){s+="..";break}s+=n[h]}return s},renderText:function(t,e,i,n){var o=t.text(e.left,e.top,r.decodeHTMLEntity(String(i)));return n&&(n["dominant-baseline"]?o.node.setAttribute("dominant-baseline",n["dominant-baseline"]):o.node.setAttribute("dominant-baseline","central"),o.attr(n)),o},renderArea:function(t,e,i){var n=t.path(e);return i=r.extend({"stroke-opacity":0},i),n.attr(i),n},renderCircle:function(t,e,i,n){var r=t.circle(e.left,e.top,i);return n&&r.attr(n),r},renderRect:function(t,e,i){var n=t.rect(e.left,e.top,e.width,e.height);return i&&n.attr(i),n},updateRectBound:function(t,e){t.attr({x:e.left,y:e.top,width:e.width,height:e.height})},forEach2dArray:function(t,e){t&&r.forEachArray(t,function(t,i){r.forEachArray(t,function(t,n){e(t,i,n)})})},makeChangedLuminanceColor:function(t,e){var i;return t=t.replace("#",""),e=e||0,i=r.map(r.range(3),function(i){var n=parseInt(t.substr(2*i,2),16),r=n+n*e;return r=Math.round(Math.min(Math.max(0,r),255)).toString(16),o.formatToZeroFill(r,2)}).join(""),"#"+i},getRenderedTextSize:function(t,e,i){var n=a(document.body,100,100),r=n.text(0,0,t).attr({"font-size":e,"font-family":i}),o=r.getBBox();return r.remove(),n.remove(),{width:o.width,height:o.height}},animateOpacity:function(t,e,i,r){var o=n(r)?r:600,s=n(e)?e:0,h=n(i)?i:1,l=a.animation({opacity:h},o);t.attr({opacity:s}),t.animate(l)}};t.exports=s},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE_6__},function(t,e,i){"use strict";function n(t,e){t=h.isArray(t)?t:[t],h.forEachArray(t,e)}function r(t){return"alpha(opacity="+t*o.OLD_BROWSER_OPACITY_100+")"}var o=i(8),a=i(9),s=i(10),h=i(6),l=Array.prototype.concat,u=h.browser,c=u.msie&&7===u.version,d=u.msie&&u.version<=8,p=window.getComputedStyle||!1,f=0,m="clipRectForAnimation",g={concatStr:function(){return String.prototype.concat.apply("",arguments)},makeFontCssText:function(t){var e=[];return t?(t.fontSize&&e.push(this.concatStr("font-size:",t.fontSize,"px")),t.fontFamily&&e.push(this.concatStr("font-family:",t.fontFamily)),t.color&&e.push(this.concatStr("color:",t.color)),t.fontWeight&&e.push(this.concatStr("font-weight:",t.fontWeight)),e.join(";")):""},checkEl:null,_createSizeCheckEl:function(){var t,e;return this.checkEl?this.checkEl.style.cssText="":(t=a.create("DIV","tui-chart-size-check-element"),e=a.create("SPAN"),t.appendChild(e),this.checkEl=t),this.checkEl},_makeCachingKey:function(t,e,i){var n=[t,i];return h.forEach(e,function(t,e){n.push(t+e)}),n.join("-")},_addCssStyle:function(t,e){t.style.fontSize=(e.fontSize||o.DEFAULT_LABEL_FONT_SIZE)+"px",e.fontFamily&&(t.style.fontFamily=e.fontFamily),e.fontWeight&&(t.style.fontWeight=e.fontWeight),e.cssText&&(t.style.cssText+=e.cssText)},sizeCache:{},_getRenderedLabelSize:function(t,e,i){var n,r,o,a;return e=e||{},(t=h.isExisty(t)?String(t):"")?(n=this._makeCachingKey(t,e,i),a=this.sizeCache[n],a||(r=this._createSizeCheckEl(),o=r.firstChild,o.innerHTML=t,this._addCssStyle(r,e),document.body.appendChild(r),a=o[i],document.body.removeChild(r),this.sizeCache[n]=a),a):0},getRenderedLabelWidth:function(t,e){var i=this._getRenderedLabelSize(t,e,"offsetWidth");return i},getRenderedLabelHeight:function(t,e){var i=this._getRenderedLabelSize(t,e,"offsetHeight");return i},_getRenderedLabelsMaxSize:function(t,e,i){var n,r=0;return t&&t.length&&(n=h.map(t,function(t){return i(t,e)}),r=s.max(n)),r},getRenderedLabelsMaxWidth:function(t,e){var i=h.bind(this.getRenderedLabelWidth,this),n=this._getRenderedLabelsMaxSize(t,e,i);return n},getRenderedLabelsMaxHeight:function(t,e){var i=h.bind(this.getRenderedLabelHeight,this),n=this._getRenderedLabelsMaxSize(t,e,i);return n},renderDimension:function(t,e){t.style.cssText=[this.concatStr("width:",e.width,"px"),this.concatStr("height:",e.height,"px")].join(";")},renderPosition:function(t,e){h.isUndefined(e)||h.forEachArray(["top","bottom","left","right"],function(i){var n=e[i];h.isNumber(n)&&(t.style[i]=e[i]+"px")})},renderBackground:function(t,e){e&&(t.style.background=e)},renderFontFamily:function(t,e){e&&(t.style.fontFamily=e)},renderTitle:function(t,e,i){var n,r;return t?(n=a.create("DIV",i),n.innerHTML=t,r=g.makeFontCssText(e),e.background&&(r+=";"+this.concatStr("background:",e.background)),n.style.cssText=r,n):null},expandBound:function(t){var e=t.dimension,i=t.position;return{dimension:{width:e.width+2*o.SERIES_EXPAND_SIZE,height:e.height+2*o.SERIES_EXPAND_SIZE},position:{left:i.left-o.SERIES_EXPAND_SIZE,top:i.top-o.SERIES_EXPAND_SIZE}}},_properCase:function(t){return t.substring(0,1).toUpperCase()+t.substring(1)},makeMouseEventDetectorName:function(t,e,i){return t+this._properCase(e)+this._properCase(i)},formatValue:function(t){var e=t.value,i=t.formatFunctions,n=t.valueType||"value",r=t.areaType,o=t.chartType,a=t.legendName,s=[String(e)].concat(i||[]);return h.reduce(s,function(t,e){return e(t,o,r,n,a)})},formatValues:function(t,e,i,n,r){var o;return e&&e.length?o=h.map(t,function(t){return g.formatValue({value:t,formatFunctions:e,chartType:i,areaType:n,valueType:r})}):t},formatDate:function(t,e){var i=h.isDate(t)?t:new Date(t);return e=e||o.DEFAULT_DATE_FORMAT,h.formatDate(e,i)||t},formatDates:function(t,e){var i=this.formatDate;return e=e||o.DEFAULT_DATE_FORMAT,h.map(t,function(t){return i(t,e)})},cancelAnimation:function(t){t&&t.id&&(cancelAnimationFrame(t.id),delete t.id)},startAnimation:function(t,e,i){function n(){var a=(new Date).getTime()-r,s=Math.min(a/t,1);e(s),1===s?(delete o.id,i&&i()):o.id=requestAnimationFrame(n)}var r,o={};return r=(new Date).getTime(),o.id=requestAnimationFrame(n),o},isIE7:function(){return c},isOldBrowser:function(){return d},formatToZeroFill:function(t,e){var i="0";if(t=String(t),t.length>=e)return t;for(;t.length-1?"-":"",t.indexOf(".")>-1?(i=t.split("."),t=String(Math.abs(i[0])),a="."+i[1]):t=String(Math.abs(t)),t.length<=s?r=u:(i=t.split("").reverse(),n=i.length-1,i=h.map(i,function(t,e){var i=[t];return e-1||(i.push(e),t.className=i.join(" ")))},removeClass:function(t,e){var i=this._getClassNames(t),r=n.inArray(e,i);r!==-1&&(i.splice(r,1),t.className=i.join(" "))},hasClass:function(t,e){var i=this._getClassNames(t),r=n.inArray(e,i);return r>-1},findParentByClass:function(t,e,i){var n,r=t.parentNode;return n=r?this.hasClass(r,e)?r:"BODY"===r.nodeName||this.hasClass(r,i)?null:this.findParentByClass(r,e,i):null},append:function(t,e){t&&e&&(e=n.isArray(e)?e:[e],n.forEachArray(e,function(e){e&&t.appendChild(e)}))}};t.exports=o},function(t,e,i){"use strict";var n=i(6),r=function(t,e,i){var r,o,a;return e?(r=t[0],o=e.call(i,r,0),a=t.slice(1),n.forEachArray(a,function(t,n){var a=e.call(i,t,n+1);ao&&(o=a,r=t)})):r=Math.max.apply(null,t),r},a=function(t,e,i){var r=!1;return n.forEach(t,function(n,o){return e.call(i,n,o,t)&&(r=!0),!r}),r},s=function(t,e,i){var r=!!(t||[]).length;return n.forEach(t,function(n,o){return e.call(i,n,o,t)||(r=!1),r!==!1}),r},h=function(t,e,i,r){var o,a=[];return n.isBoolean(e)||(r=i,i=e,e=!1),i=i||function(t){return t},e?n.forEachArray(t,function(e,n){e=i.call(r,e,n,t),n&&o===e||a.push(e),o=e}):n.forEachArray(t,function(e,o){e=i.call(r,e,o,t),n.inArray(e,a)===-1&&a.push(e)}),a},l=function(t){var e,i=[],r=o(n.map(t,function(t){return t.length}));return n.forEachArray(t,function(t){for(e=0;e0?1:-1,s=t.width,h=t.left,l=s/4,c="M"+(h+l)+","+t.top+"H"+(h+3*l),p="M"+(h+2*l)+","+t.top+"V"+(t.top+Math.abs(o)*a),f=n.renderLine(r,c,i,u),m=n.renderLine(r,p,i,d),g=[];return f.attr({opacity:0}),m.attr({opacity:0}),g.push(f),g.push(m),g},_renderWhiskers:function(t){var e=this,i=this.theme.colors,n=this.options.colorByPoint,o=[];return r.forEach(t,function(t,a){var s=[];r.forEach(t,function(t,r){var o=n?i[a]:i[r];t&&(s=s.concat(e._renderWhisker(t.min,t.start,o)),s=s.concat(e._renderWhisker(t.max,t.end,o)))}),o.push(s)}),o},_renderMedianLine:function(t){var e=t.width,i="M"+t.left+","+t.top+"H"+(t.left+e),r=n.renderLine(this.paper,i,"#ffffff",c);return r.attr({opacity:0}),r},_renderMedianLines:function(t){var e=this,i=[];return r.forEach(t,function(t){var n=[];r.forEach(t,function(t){t&&n.push(e._renderMedianLine(t.median))}),i.push(n)}),i},_renderOutlier:function(t,e){var i=n.renderCircle(this.paper,{left:t.left,top:t.top},3.5,{stroke:e,"stroke-width":2});return i.attr({opacity:0}),i},_renderOutliers:function(t){var e=this,i=this.theme.colors,n=this.options.colorByPoint,o=[];return r.forEach(t,function(t,a){var s=[];r.forEach(t,function(t,o){var h=n?i[a]:i[o],l=[];t&&(t.outliers.length&&r.forEach(t.outliers,function(t){l.push(e._renderOutlier(t,h))}),s.push(l))}),o.push(s)}),o},_makeRectPoints:function(t){return{leftTop:{left:Math.ceil(t.left),top:Math.ceil(t.top)},rightTop:{left:Math.ceil(t.left+t.width),top:Math.ceil(t.top)},rightBottom:{left:Math.ceil(t.left+t.width),top:Math.ceil(t.top+t.height)},leftBottom:{left:Math.ceil(t.left),top:Math.ceil(t.top+t.height)}}},_renderBorderLines:function(t,e,i,o){var a=this,s=this._makeBorderLinesPaths(t,i,o),h={};return r.forEach(s,function(t,i){h[i]=n.renderLine(a.paper,t,e,1)}),h},_renderBoxBorders:function(t){var e,i=this,n=this.theme.borderColor;return n?e=r.map(t,function(t,e){return r.map(t,function(t,r){var o;return t?(o=i.seriesDataModel.getSeriesItem(e,r),i._renderBorderLines(t.start,n,i.chartType,o)):null})}):null},_animateRect:function(t,e){t.animate({x:e.left,y:e.top,width:e.width,height:e.height},a,">")},animate:function(t){var e=this,i=o.animation({opacity:1},a);n.forEach2dArray(this.groupBoxes,function(t){t&&e._animateRect(t.rect,t.bound)}),n.forEach2dArray(e.groupWhiskers,function(t){t.animate(i.delay(a))}),n.forEach2dArray(e.groupMedians,function(t){t.animate(i.delay(a))}),n.forEach2dArray(e.groupOutliers,function(t){r.forEach(t,function(t){t.animate(i.delay(a))})}),t&&(this.callbackTimeout=setTimeout(function(){t(),delete e.callbackTimeout},a))},showAnimation:function(t){r.isNumber(t.outlierIndex)?this.showOutlierAnimation(t):this.showRectAnimation(t)},showRectAnimation:function(t){var e=this.groupBoxes[t.groupIndex][t.index];this.hoveredBar=e.rect,this.hoveredBar.attr({stroke:"#ffffff","stroke-width":4}),this.hoveredBar.node.setAttribute("filter","url(#shadow)")},showOutlierAnimation:function(t){var e=this.groupOutliers[t.groupIndex][t.index][t.outlierIndex].attr();this.circleOverlay.attr({r:e.r,cx:e.cx,cy:e.cy,fill:e.stroke,"fill-opacity":1,stroke:e.stroke,"stroke-width":4})},hideAnimation:function(){this.circleOverlay.attr({width:1,height:1,x:0,y:0,"fill-opacity":0,"stroke-width":2}),this.hoveredBar.attr({stroke:"none"}),this.hoveredBar.node.setAttribute("filter","none")},_updateRectBound:function(t,e){t.attr({x:e.left,y:e.top,width:e.width,height:e.height})},resize:function(t){var e=t.dimension,i=t.groupBounds;this.groupBounds=i,this.paper.setSize(e.width,e.height),n.forEach2dArray(this.groupBoxes,function(t,e,r){var o;t&&(o=i[e][r].end,t.bound=o,n.updateRectBound(t.rect,o))})},_changeBordersColor:function(t,e){r.forEach(t,function(t){t.attr({stroke:e})})},_changeBoxColor:function(t,e,i){var n,r=this.groupBoxes[t.groupIndex][t.index];r.rect.attr({stroke:e}),i&&(n=this.groupBorders[t.groupIndex][t.index],this._changeBordersColor(n,i))},selectSeries:function(t){var e,i=this.groupBoxes[t.groupIndex][t.index],r=o.color(i.color),a=this.theme.selectionColor,s=a||n.makeChangedLuminanceColor(r.hex,l),h=this.theme.borderColor; h&&(e=o.color(h),h=n.makeChangedLuminanceColor(e.hex,l)),this._changeBoxColor(t,s,h)},unselectSeries:function(t){var e=this.groupBoxes[t.groupIndex][t.index],i=this.theme.borderColor;this._changeBoxColor(t,e.color,i)},selectLegend:function(t){var e=r.isNull(t);n.forEach2dArray(this.groupBoxes,function(i,n,r){var o;i&&(o=e||t===r?s:h,i.rect.attr({"stroke-opacity":o}))}),n.forEach2dArray(this.groupWhiskers,function(i,n,r){var o=e||t===r?s:h;i.attr({"stroke-opacity":o})}),n.forEach2dArray(this.groupMedians,function(i,n,r){var o=e||t===r?s:h;i.attr({"stroke-opacity":o})})},renderSeriesLabel:function(t,e,i,o,a){var s={"font-size":o.fontSize,"font-family":o.fontFamily,"font-weight":o.fontWeight,fill:o.color,opacity:0,"text-anchor":a?"middle":"start"},h=t.set();return r.forEach(i,function(i,o){r.forEach(i,function(i,r){var a,l=e[o][r],u=n.renderText(t,l.end,i.end,s);u.node.style.userSelect="none",u.node.style.cursor="default",u.node.setAttribute("filter","url(#glow)"),h.push(u),l.start&&(a=n.renderText(t,l.start,i.start,s),a.node.style.userSelect="none",a.node.style.cursor="default",a.node.setAttribute("filter","url(#glow)"),h.push(a))})}),h}});t.exports=p},function(t,e,i){"use strict";function n(t,e,i,n){var r=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),o=t.rect(e.left,e.top,i.width,i.height);return o.id=n+"_rect",r.id=n,r.appendChild(o.node),t.defs.appendChild(r),o}var r=i(5),o=i(8),a=i(6),s=i(7),h=a.browser,l=h.msie&&h.version<=8,u=700,c=700,d=1,p=.3,f=20,m=a.defineClass({render:function(t,e){var i=e.groupBounds,n=e.seriesDataModel;return i&&i.length?(this.paper=t,this.theme=e.theme,this.dimension=e.dimension,this.position=e.position,this.options=e.options,this.chartType=e.chartType,this.isVertical=e.isVertical,this.seriesDataModel=n,this.maxRangeCount=n.maxRangeCount,this.maxMarkerCount=n.maxMarkerCount,this.rangeOpacities={},this.paper.setStart(),this._renderBounds(i),this.paper.setFinish()):null},_getRangeOpacity:function(t){var e=this.maxRangeCount;return this.prevMaxRangeCount!==e&&this._updateOpacityStep(e),t",t)),t&&(this.callbackTimeout=setTimeout(function(){t(),delete self.callbackTimeout},c))},resize:function(t){var e=t.dimension,i=t.groupBounds,n=e.width,r=e.height;this.dimension=t.dimension,this.groupBounds=i,this.resizeClipRect(n,r),this.paper.setSize(n,r),this._renderBounds(i)},resizeClipRect:function(t,e){var i=this.paper.getById(this._getClipRectId()+"_rect");i.attr({width:t,height:e})},setClipRectPosition:function(t){var e=this.paper.getById(this._getClipRectId()+"_rect");e.attr({x:t.left,y:t.top})},_getClipRectId:function(){return this.clipRectId||(this.clipRectId=s.generateClipRectId()),this.clipRectId},_changeBordersColor:function(t,e){a.forEach(t,function(t){t.attr({stroke:e})})},selectLegend:function(t){var e=a.isNull(t);a.forEachArray(this.groupBars,function(i,n){var r=e||t===n?d:p;this.groupBars[n].attr({"fill-opacity":r}),this.groupLabels[n].attr({opacity:r}),a.forEachArray(this.groupLabels[n],function(t){t.attr({opacity:r})})},this)},renderSeriesLabel:function(t,e,i,n){var r={"font-size":n.fontSize,"font-family":n.fontFamily,"font-weight":n.fontWeight,fill:n.color,opacity:0,"text-anchor":this.isVertical?"middle":"start"},o=t.set();return this.groupLabels=a.map(i,function(i,n){var s=t.set();return a.forEach(i,function(i,a){var h=this._renderLabel(t,e[n][a],r,i);s.push(h),o.push(h)},this),s},this),o},_renderLabel:function(t,e,i,n){var o=r.renderText(t,e,n,i),a=o.node,s=a.style;return s.userSelect="none",s.cursor="default",a.setAttribute("filter","url(#glow)"),o},getGraphColors:function(){return a.map(this.groupBars,function(t,e){var i,n=[],r=this.groupLines[e].length,o=0;for(t.forEach(function(t){n.push(t.attrs.fill)}),i=n[n.length-1];o<=r;o+=1)n.push(i);return n},this)}});t.exports=m},function(t,e,i){"use strict";var n=i(14),r=i(5),o=i(6),a=1,s=.3,h=o.defineClass(n,{init:function(){this.selectedLegendIndex=null,this.chartType="line",this.lineWidth=6},render:function(t,e){var i,n=e.dimension,r=e.groupPositions,a=e.theme,s=a.colors,h=e.options,l=h.showDot?1:0,u=h.spline,c=this.lineWidth=o.isNumber(h.pointWidth)?h.pointWidth:this.lineWidth,d=this.makeBorderStyle(a.dot.strokeColor,l,a.dot.strokeWidth),p=this.makeOutDotStyle(l,d);return i=u?this._getSplineLinesPath(r,h.connectNulls):this._getLinesPath(r,h.connectNulls),this.paper=t,this.theme=e.theme,this.isSpline=u,this.dimension=n,this.position=e.position,t.setStart(),this.groupLines=this._renderLines(t,i,s,c),this.tooltipLine=this._renderTooltipLine(t,n.height),this.groupDots=this._renderDots(t,r,s,l),h.allowSelect&&(this.selectionDot=this._makeSelectionDot(t),this.selectionColor=a.selectionColor),this.colors=s,this.borderStyle=d,this.outDotStyle=p,this.groupPositions=r,this.groupPaths=i,this.dotOpacity=l,delete this.pivotGroupDots,t.raphael.svg&&this.appendShadowFilterToDefs(),t.setFinish()},appendShadowFilterToDefs:function(){var t=document.createElementNS("http://www.w3.org/2000/svg","filter"),e=document.createElementNS("http://www.w3.org/2000/svg","feOffset"),i=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),n=document.createElementNS("http://www.w3.org/2000/svg","feBlend");t.setAttributeNS(null,"id","shadow"),t.setAttributeNS(null,"x","-50%"),t.setAttributeNS(null,"y","-50%"),t.setAttributeNS(null,"width","180%"),t.setAttributeNS(null,"height","180%"),e.setAttributeNS(null,"result","offOut"),e.setAttributeNS(null,"in","SourceAlpha"),e.setAttributeNS(null,"dx","0"),e.setAttributeNS(null,"dy","0"),i.setAttributeNS(null,"result","blurOut"),i.setAttributeNS(null,"in","offOut"),i.setAttributeNS(null,"stdDeviation","2"),n.setAttributeNS(null,"in","SourceGraphic"),n.setAttributeNS(null,"in2","blurOut"),n.setAttributeNS(null,"mode","normal"),t.appendChild(e),t.appendChild(i),t.appendChild(n),this.paper.defs.appendChild(t)},_getLinesPath:function(t,e){var i=this;return o.map(t,function(t){return i._makeLinesPath(t,null,e)})},_getSplineLinesPath:function(t,e){var i=this;return o.map(t,function(t){return i._makeSplineLinesPath(t,e)})},_renderLines:function(t,e,i,n){return o.map(e,function(e,o){var a=i[o]||"transparent",s=r.renderLine(t,e.join(" "),a,n);return s.node.setAttribute("class","auto-shape-rendering"),s})},resize:function(t){var e=this,i=t.dimension,n=t.groupPositions;this.resizeClipRect(i.width,i.height),this.groupPositions=n,this.groupPaths=this.isSpline?this._getSplineLinesPath(n):this._getLinesPath(n),this.paper.setSize(i.width,i.height),this.tooltipLine.attr({top:i.height}),o.forEachArray(this.groupPaths,function(t,i){e.groupLines[i].attr({path:t.join(" ")}),o.forEachArray(e.groupDots[i],function(t,r){t.endDot&&e.moveDot(t.endDot.dot,n[i][r])})})},selectLegend:function(t){var e=o.isNull(t);this.selectedLegendIndex&&this.selectedLegendIndex!==-1&&this.resetSeriesOrder(this.selectedLegendIndex),this.selectedLegendIndex=t,o.forEachArray(this.groupLines,function(i,n){var r=t===n,o=e||r?a:s,h=this.groupDots[n];i.attr({"stroke-opacity":o}),r&&this.moveSeriesToFront(i,h)},this),e&&o.forEachArray(this.groupLines,function(t,e){this.moveSeriesToFront(t,this.groupDots[e])},this)},resetSeriesOrder:function(t){var e=t+10&&(n[0]="M"),n},_getAnchor:function(t,e,i){var n,r,o,a,s,h=(e.left-t.left)/2,l=(i.left-e.left)/2,u=Math.atan((e.left-t.left)/Math.abs(e.top-t.top)),c=Math.atan((i.left-e.left)/Math.abs(e.top-i.top));return u=t.top0&&!e||a)&&(i.push(n),n=[])}),i},_getSplinePartialPaths:function(t){var e,i,n,r,o,s,h,l=this,u=[];return a.forEach(t,function(t){h=e=t[0],n=t.length,r=e,i=t[n-1],o=t.slice(1).slice(0,n-2),s=a.map(o,function(e,i){var n=t[i+2],o=l._getAnchor(r,e,n);return r=e,Math.abs(o.y1-h.top)>Math.abs(h.top-e.top)&&(o.y1=e.top),Math.abs(o.y2-n.top)>Math.abs(n.top-e.top)&&(o.y2=e.top),h=e,[o.x1,o.y1,e.left,e.top,o.x2,o.y2]}),s.push([i.left,i.top,i.left,i.top]),s.unshift(["M",e.left,e.top,"C",e.left,e.top]),u.push(s)}),u},_makeSplineLinesPath:function(t,e){var i=[],n=this._getSplinePositionsGroups(t,e),r=this._getSplinePartialPaths(n);return a.forEach(r,function(t){i=i.concat(t)}),i},_renderTooltipLine:function(t,e){var i=r.makeLinePath({left:10,top:e},{left:10,top:0});return r.renderLine(t,i,"transparent",1)},appendShadowFilterToDefs:function(){var t=document.createElementNS("http://www.w3.org/2000/svg","filter"),e=document.createElementNS("http://www.w3.org/2000/svg","feOffset"),i=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),n=document.createElementNS("http://www.w3.org/2000/svg","feBlend");t.setAttributeNS(null,"id","shadow"),t.setAttributeNS(null,"x","-50%"),t.setAttributeNS(null,"y","-50%"),t.setAttributeNS(null,"width","180%"),t.setAttributeNS(null,"height","180%"),e.setAttributeNS(null,"result","offOut"),e.setAttributeNS(null,"in","SourceAlpha"),e.setAttributeNS(null,"dx","0"),e.setAttributeNS(null,"dy","0"),i.setAttributeNS(null,"result","blurOut"),i.setAttributeNS(null,"in","offOut"),i.setAttributeNS(null,"stdDeviation","2"),n.setAttributeNS(null,"in","SourceGraphic"),n.setAttributeNS(null,"in2","blurOut"),n.setAttributeNS(null,"mode","normal"),t.appendChild(e),t.appendChild(i),t.appendChild(n),this.paper.defs.appendChild(t)},makeBorderStyle:function(t,e,i){var n={"stroke-width":i,"stroke-opacity":e};return t&&(n.stroke=t),n},makeOutDotStyle:function(t,e){var i={"fill-opacity":t,"stroke-opacity":t,r:c};return e&&a.extend(i,e),i},renderDot:function(t,e,i,n){var r,o,s,h=this.theme&&this.theme.dot||{dot:{}};return e&&(r=t.circle(e.left,e.top,a.isUndefined(h.radius)?c:h.radius),o={fill:h.fillColor||i,"fill-opacity":a.isNumber(n)?n:h.fillOpacity,stroke:h.strokeColor||i,"stroke-opacity":a.isNumber(n)?n:h.strokeOpacity,"stroke-width":h.strokeWidth},r.attr(o),s={dot:r,color:i}),s},_moveDotsToFront:function(t){r.forEach2dArray(t,function(t){t.endDot.dot.toFront(),t.startDot&&t.startDot.dot.toFront()})},_renderDots:function(t,e,i,n,r){var o,s=this;return o=a.map(e,function(e,o){var h=i[o];return a.map(e,function(e){var i,o={endDot:s.renderDot(t,e,h,n)};return s.hasRangeData&&(i=a.extend({},e),i.top=i.startTop,o.startDot=s.renderDot(t,i,h,n)),r&&(r.push(o.endDot.dot),o.startDot&&r.push(o.startDot.dot)),o})})},_getCenter:function(t,e){return{left:(t.left+e.left)/2,top:(t.top+e.top)/2}},_showDot:function(t,e){var i=this.theme.dot.hover,n={"fill-opacity":i.fillOpacity,stroke:i.strokeColor||t.color,"stroke-opacity":i.strokeOpacity,"stroke-width":i.strokeWidth,r:i.radius,filter:"url(#shadow)"};this._setPrevDotAttributes(e,t.dot),i.fillColor&&(n.fill=i.fillColor),t.dot.attr(n),t.dot.node&&t.dot.node.setAttribute("filter","url(#shadow)"),t.dot.toFront()},_setPrevDotAttributes:function(t,e){this._prevDotAttributes||(this._prevDotAttributes={}),this._prevDotAttributes[t]=e.attr()},_updateLineStrokeOpacity:function(t,e){var i=1,n=!a.isNull(this.selectedLegendIndex);this.groupLines&&((t===m||n)&&(i="radial"===this.chartType&&this.isShowArea?0:p),t===g&&n&&(e=this.getLine(this.selectedLegendIndex)),a.forEachArray(this.groupLines,function(t){t.attr({"stroke-opacity":i})}),e.attr({"stroke-opacity":1}))},getLine:function(t){return this.groupLines?this.groupLines[t]:this.groupAreas[t]},_updateAreaOpacity:function(t){this.groupAreas&&a.forEach(this.groupAreas,function(e){e.area.attr({"fill-opacity":t===m?p:1})})},_updateLineStrokeWidth:function(t,e){var i={"stroke-width":e};t.attrs&&(i.stroke=t.attrs.stroke),t.attr(i)},showAnimation:function(t){var e,i,n=t.groupIndex,r=t.index,o=this.groupLines?this.groupLines[r]:this.groupAreas[r],a=this.groupDots[r][n];a&&("area"===this.chartType?(e=5,i=o.startLine,this._updateAreaOpacity(m),o=o.line):e=this.lineWidth,this._updateLineStrokeOpacity(m,o),this._updateLineStrokeWidth(o,e),i&&this._updateLineStrokeWidth(i,e),this._showDot(a.endDot,r),a.startDot&&this._showDot(a.startDot,r))},_getPivotGroupDots:function(){return!this.pivotGroupDots&&this.groupDots&&(this.pivotGroupDots=s.pivot(this.groupDots)),this.pivotGroupDots},_showGroupDots:function(t){var e=this,i=this._getPivotGroupDots();i&&i[t]&&a.forEachArray(i[t],function(t,i){t.endDot&&e._showDot(t.endDot,i),t.startDot&&e._showDot(t.startDot,i)})},showGroupTooltipLine:function(t,e){var i=Math.max(t.position.left,11),n=r.makeLinePath({left:i,top:e.position.top+t.dimension.height},{left:i,top:e.position.top});this.tooltipLine&&this.tooltipLine.attr({path:n,stroke:"#999","stroke-opacity":1})},showGroupAnimation:function(t){this._showGroupDots(t)},_hideDot:function(t,e,i){var n=this._prevDotAttributes[e],r=this.outDotStyle;n&&!a.isUndefined(i)&&(r=a.extend({r:n.r,stroke:n.stroke,fill:n.fill,"stroke-opacity":n["stroke-opacity"],"stroke-width":n["stroke-width"],"fill-opacity":n["fill-opacity"]})),t.attr(r),t.node&&t.node.setAttribute("filter",""),this.resetSeriesOrder(e)},hideAnimation:function(t){var e,i,n,r,o=t.groupIndex,s=t.index,h=this.dotOpacity,l=this.groupDots[s];l&&l[o]&&(e=this.groupLines?this.groupLines[s]:this.groupAreas[s],i=l[o],"area"===this.chartType?(n=this.lineWidth,r=e.startLine,e=e.line,this._updateAreaOpacity(g)):n=this.lineWidth,h&&!a.isNull(this.selectedLegendIndex)&&this.selectedLegendIndex!==s&&(h=p),this._updateLineStrokeOpacity(g,e),this._updateLineStrokeWidth(e,n),r&&this._updateLineStrokeWidth(r,n),i&&(this._hideDot(i.endDot.dot,s,h),i.startDot&&this._hideDot(i.startDot.dot,s,h)))},_hideGroupDots:function(t){var e=this,i=!a.isNull(this.selectedLegendIndex),n=this.dotOpacity,r=this._getPivotGroupDots();r&&r[t]&&a.forEachArray(r[t],function(t,r){var o=n;o&&i&&e.selectedLegendIndex!==r&&(o=p),t.endDot&&e._hideDot(t.endDot.dot,r,o),t.startDot&&e._hideDot(t.startDot.dot,r,o)})},hideGroupTooltipLine:function(){this.tooltipLine.attr({"stroke-opacity":0})},hideGroupAnimation:function(t){this._hideGroupDots(t)},_moveDot:function(t,e){var i={cx:e.left,cy:e.top};this.dotOpacity&&(i=a.extend({"fill-opacity":this.dotOpacity},i,this.borderStyle)),t.attr(i)},animate:function(t,e){var i=this.paper,r=this.dimension,o=this.position,a=this.clipRect,s=this._getClipRectId();!l&&r&&(a?a.attr({width:0,height:r.height}):(a=n(i,o,r,s),this.clipRect=a),e.forEach(function(t){t.node.setAttribute("clip-path","url(#"+s+")")}),a.animate({width:r.width},u,">",t))},_makeSelectionDot:function(t){var e=t.circle(0,0,d);return e.attr({fill:"#ffffff","fill-opacity":0,"stroke-opacity":0,"stroke-width":2}),e},selectSeries:function(t){var e=this.groupDots[t.index][t.groupIndex],i=this.groupPositions[t.index][t.groupIndex];this.selectedItem=e,this.selectionDot.attr({cx:i.left,cy:i.top,"fill-opacity":.5,"stroke-opacity":1,stroke:this.selectionColor||e.endDot.color}),this.selectionStartDot&&this.selectionStartDot.attr({cx:i.left,cy:i.startTop,"fill-opacity":.5,"stroke-opacity":1,stroke:this.selectionColor||e.startDot.color})},unselectSeries:function(t){var e=this.groupDots[t.index][t.groupIndex];this.selectedItem===e&&this.selectionDot.attr({"fill-opacity":0,"stroke-opacity":0}),this.selectionStartDot&&this.selectionStartDot.attr({"fill-opacity":0,"stroke-opacity":0})},setSize:function(t,e){t=t||this.dimension.width,e=e||this.dimension.height,this.paper.setSize(t,e)},_animateByPosition:function(t,e,i){var n={cx:e.left,cy:e.top};a.isExisty(i)&&(n.transform="t-"+i+",0"),t.animate(n,f)},_animateByPath:function(t,e,i){var n={path:e.join(" ")};a.isExisty(i)&&(n.transform="t-"+i+",0"),t.animate(n,f)},_removeFirstDot:function(t){var e=t.shift();e.endDot.dot.remove(),e.startDot&&e.startDot.dot.remove()},clear:function(){delete this.paper.dots,this.paper.clear()},resizeClipRect:function(t,e){var i=this.paper.getById(this._getClipRectId()+"_rect");i.attr({width:t,height:e})},_getClipRectId:function(){return this.clipRectId||(this.clipRectId=o.generateClipRectId()),this.clipRectId},resetSeriesOrder:function(){},moveSeriesToFront:function(){}});t.exports=T},function(t,e,i){"use strict";var n=i(14),r=i(5),o=i(6),a=1,s=.3,h=Array.prototype.concat,l=i(8),u=l.GUIDE_AREACHART_AREAOPACITY_TYPE,c=l.CLASS_NAME_SVG_AUTOSHAPE,d=i(16),p=o.defineClass(n,{init:function(){this.selectedLegendIndex=null,this.chartType="area",this.lineWidth=0},render:function(t,e){var i,n=e.dimension,r=e.groupPositions,a=e.theme,s=a&&a.dot||{},h=a.colors,l=e.options,u=this._isAreaOpacityNumber(l.areaOpacity)?l.areaOpacity:1,c=l.showDot?1:0,d=this.makeBorderStyle(s.strokeColor,c,s.strokeWidth),p=this.makeOutDotStyle(c,d),f=this.lineWidth=o.isNumber(l.pointWidth)?l.pointWidth:this.lineWidth;return this.paper=t,this.theme=e.theme,this.isSpline=l.spline,this.dimension=n,this.position=e.position,this.zeroTop=e.zeroTop,this.hasRangeData=e.hasRangeData,t.setStart(),this.groupPaths=this._getAreaChartPath(r,null,l.connectNulls),this.groupAreas=this._renderAreas(t,this.groupPaths,h,f,u),this.tooltipLine=this._renderTooltipLine(t,n.height),this.groupDots=this._renderDots(t,r,h,c),l.allowSelect&&(this.selectionDot=this._makeSelectionDot(t),this.selectionColor=a.selectionColor,this.hasRangeData&&(this.selectionStartDot=this._makeSelectionDot(t))),this.outDotStyle=p,this.groupPositions=r,this.dotOpacity=c,this.pivotGroupDots=null,i=t.setFinish(),this._moveSeriesToFrontAll(),this.tooltipLine.toFront(),i},_moveSeriesToFrontAll:function(){for(var t=this.groupPaths?this.groupPaths.length:0,e=0;e1)&&d.print(u,"warn"):o.isUndefined(t)||d.print(u,"error"),e}});t.exports=p},function(t,e){"use strict";t.exports={print:function(t,e){e=e||"log",window.console&&window.console[e](t)}}},function(t,e,i){"use strict";var n=i(5),r=i(6),o=i(3),a=180,s=360,h=.01,l=Math.PI/a,u=700,c=1,d=.3,p=.2,f="overlay",m=20,g=r.defineClass({render:function(t,e,i){var n=t.set();return this.paper=t,this.holeRatio=e.options.radiusRange[0],this.chartBackground=e.chartBackground,this.chartType=e.chartType,this.callbacks=i,this.selectionColor=e.theme.selectionColor,this.circleBound=e.circleBound,this.sectorName="sector_"+this.chartType,this._setSectorAttr(),this.sectorInfos=this._renderPie(e.sectorData,e.theme.colors,e.additionalIndex,n),this.overlay=this._renderOverlay(),this.labelInfos={value:[],legend:[]},this.prevPosition=null,this.prevHoverSector=null,n},clear:function(){this.paper.clear()},_makeSectorPath:function(t,e,i,n,r){var o=n*l,s=r*l,h=t+i*Math.sin(o),u=e-i*Math.cos(o),c=t+i*Math.sin(s),d=e-i*Math.cos(s),p=r-n>a?1:0,f=["M",t,e,"L",h,u,"A",i,i,0,p,1,c,d,"Z"];return{path:f}},_makeDonutSectorPath:function(t,e,i,n,r,o){var s=n*l,h=r*l,u=o||i*this.holeRatio,c=t+i*Math.sin(s),d=e-i*Math.cos(s),p=t+u*Math.sin(s),f=e-u*Math.cos(s),m=t+i*Math.sin(h),g=e-i*Math.cos(h),_=t+u*Math.sin(h),T=e-u*Math.cos(h),v=r-n>a?1:0,A=["M",c,d,"A",i,i,0,v,1,m,g,"L",_,T,"A",u,u,0,v,0,p,f,"Z"];return{path:A}},_setSectorAttr:function(){var t;this.paper.customAttributes[this.sectorName]||(t=this.holeRatio?this._makeDonutSectorPath:this._makeSectorPath,this.paper.customAttributes[this.sectorName]=r.bind(t,this))},_renderOverlay:function(){var t={paper:this.paper,circleBound:{cx:0,cy:0,r:0},angles:{startAngle:0,endAngle:0},attrs:{fill:"none",opacity:0,stroke:this.chartBackground.color,"stroke-width":1}},e=this._renderSector(t);return e.node.setAttribute("class","auto-shape-rendering"),e.data("id",f),e.data("chartType",this.chartType),e},_renderSector:function(t){var e=t.circleBound,i=t.angles,n=t.attrs;return n[this.sectorName]=[e.cx,e.cy,e.r,i.startAngle,i.endAngle],t.paper.path().attr(n)},_renderPie:function(t,e,i,n){var o=this,a=this.circleBound,s=this.chartBackground,h=[];return r.forEachArray(t,function(t,r){var l=t.ratio,u=e[r],c=o._renderSector({paper:o.paper,circleBound:a,angles:t.angles.start,attrs:{fill:s.color,stroke:s.color,"stroke-width":0}});c.node.setAttribute("class","auto-shape-rendering"),c.data("index",r),c.data("legendIndex",r+i),c.data("chartType",o.chartType),h.push({sector:c,color:u,angles:t.angles.end,ratio:l}),n.push(c)}),h},_showOverlay:function(t,e){var i,n=this.overlay,r=this.sectorInfos[t],o=r.angles.startAngle,a=r.angles.endAngle,s=this.circleBound;i={fill:"#fff",opacity:1,"stroke-width":7,"stroke-color":"#fff","stroke-miterlimit":15},i[this.sectorName]=[s.cx,s.cy,s.r,o,a,s.r*this.holeRatio],n.attr(i),n.data("index",t),n.data("legendIndex",e),n.node.setAttribute("filter","url(#shadow)"),this._indexingOverlapElement([n,r.sector,this.labelInfos.legend[t],this.labelInfos.value[t]])},_indexingOverlapElement:function(t){r.forEach(t,function(t){t&&t.toFront()})},_hideOverlay:function(){var t=this.overlay,e={fill:"none",opacity:0};t.attr(e),this._indexingOverlapElement(this.labelInfos.legend),this._indexingOverlapElement(this.labelInfos.value)},animate:function(t){var e=0,i=this.sectorName,n=this.circleBound,a=[n.cx,n.cy,n.r];r.forEachArray(this.sectorInfos,function(t){var n,r=t.angles,l={fill:t.color},c=u*t.ratio;0===r.startAngle&&r.endAngle===s&&(r.endAngle=s-h),l[i]=a.concat([r.startAngle,r.endAngle]),n=o.animation(l,c,">"),t.sector.animate(n.delay(e)),e+=c}),t&&setTimeout(t,e)},resize:function(t){var e=t.dimension,i=t.circleBound,n=this.sectorName,o=this.labelSet;this.circleBound=i,this.paper.setSize(e.width,e.height),r.forEachArray(this.sectorInfos,function(t,e){var r,a=t.angles,s={};s[n]=[i.cx,i.cy,i.r,a.startAngle,a.endAngle],t.sector.attr(s),o&&o.length&&(r=t.sector.getBBox(),o[e].attr({x:r.x+r.width/2,y:r.y+r.height/2}))})},findSectorInfo:function(t){var e=this.paper&&this.paper.getElementByPoint(t.left,t.top),i=null;return e&&(i={legendIndex:r.isExisty(e.data("legendIndex"))?e.data("legendIndex"):-1,index:r.isExisty(e.data("index"))?e.data("index"):-1,chartType:e.data("chartType")}),i},_isChangedPosition:function(t,e){return!t||t.left!==e.left||t.top!==e.top},_showTooltip:function(t,e){var i=[{},0,t.data("index"),{left:e.left-m,top:e.top-m}];this.callbacks.showTooltip.apply(null,i)},_isValidSector:function(t){return t&&t.data("chartType")===this.chartType},moveMouseOnSeries:function(t){var e=this.paper&&this.paper.getElementByPoint(t.left,t.top);this._isValidSector(e)?(this.prevHoverSector!==e&&(this._showOverlay(e.data("index"),e.data("legendIndex")),this.prevHoverSector=e),this._isChangedPosition(this.prevPosition,t)&&this._showTooltip(e,t)):this.prevHoverSector&&(this._hideOverlay(),this.callbacks.hideTooltip(),this.prevHoverSector=null),this.prevPosition=t},selectSeries:function(t){var e,i,r,a=this.sectorInfos[t.index];a&&(i=o.color(a.color),e=n.makeChangedLuminanceColor(i.hex,p),r=this.selectionColor||e,a.sector.attr({fill:r}))},unselectSeries:function(t){var e=this.sectorInfos[t.index];e&&e.sector.attr({fill:e.color})},selectLegend:function(t){var e=r.isNull(t);r.forEachArray(this.sectorInfos,function(i,n){var r=e||t===n?c:d;i.sector.attr({"fill-opacity":r})})},getRenderedLabelWidth:function(t,e){return n.getRenderedTextSize(t,e.fontSize,e.fontFamily).width},getRenderedLabelHeight:function(t,e){return n.getRenderedTextSize(t,e.fontSize,e.fontFamily).height},renderLabels:function(t){var e=t.theme,i={"font-size":e.fontSize,"font-family":t.fontFamily?t.fontFamily:t.theme.fontFamily,"font-weight":e.fontWeight,"text-anchor":"middle",fill:e.color||"#fff",opacity:0};r.forEach(t.positions,function(e,r){var o;t.colors&&(i.fill=t.colors[r]),e&&(o=n.renderText(t.paper,e,t.labels[r],i),o.node.style.userSelect="none",o.node.style.cursor="default",o.node.setAttribute("class","auto-shape-rendering")),this.labelInfos[t.dataType].push(o),t.labelSet.push(o)},this),this.labelSet||(this.labelSet=t.labelSet)}});t.exports=g},function(t,e,i){"use strict";var n=i(14),r=i(5),o=i(6),a=1,s=.3,h=6,l=o.defineClass(n,{init:function(){this.selectedLegendIndex=null,this.chartType="radial",this.lineWidth=h},render:function(t,e){var i=e.dimension,n=e.groupPositions,r=e.theme,a=r.colors,s=e.options.showDot?1:0,h=e.options.showArea,l=this._getLinesPath(n),u=this.makeBorderStyle(r.strokeColor,s,r.strokeWidth),c=this.makeOutDotStyle(s,u),d=t.set(),p=this.lineWidth=e.options.pointWidth?e.options.pointWidth:this.lineWidth,f=o.map(n,function(t){ diff --git a/package-lock.json b/package-lock.json index 8c9a294e4..9f19dc155 100755 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "tui-chart", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2256,9 +2256,6 @@ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", "dev": true }, - "eve": { - "version": "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1" - }, "eventemitter3": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", @@ -7142,6 +7139,11 @@ "version": "git+https://github.com/nhnent/raphael.git#78a6ed3ec269f33b6457b0ec66f8c3d1f2ed70e0", "requires": { "eve": "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1" + }, + "dependencies": { + "eve": { + "version": "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1" + } } }, "raw-body": { diff --git a/package.json b/package.json index 2a42d5263..38468a125 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tui-chart", "author": "NHN Ent. FE Development Lab ", - "version": "3.0.0", + "version": "3.0.1", "main": "dist/tui-chart", "license": "MIT", "description": "TOAST UI Application: Chart",