1import{C as r,r as s}from"./chart-4zv7KpEq.js";import{_ as o,o as d,c as n,a as l}from"./app-DVhk9hEg.js";/* empty css */r.register(...s);const i={name:"LineChart",props:["leads"],data(){return{chart:null}},methods:{drawChart(){const t=this.leads,a=this.$refs.myChart;this.chart&&this.chart.destroy(),console.log(t.legends),this.chart=new r(a,{type:"bar",data:{labels:t.data.map(e=>e.date),datasets:[{label:t.legends.y,data:t.data.map(e=>e.y),borderWidth:1,backgroundColor:"rgba(75, 192, 192, 0.2)",borderColor:"rgba(75, 192, 192, 1)"}]},options:{responsive:!0,plugins:{legend:{display:!0,position:"top"},title:{display:!0,text:t.legends.z}},scales:{x:{grid:{color:"#EEEFEF"}},y:{grid:{color:"#EEEFEF"},beginAtZero:!0}}}})}},watch:{leads:{handler(){this.drawChart()},deep:!0}},mounted(){this.drawChart()}},c={ref:"myChart",height:"100"};function h(t,a,e,p,u,g){return d(),n("div",null,[l("canvas",c,null,512)])}const b=o(i,[["render",h]]);export{b as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.