%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartjs/scatter/
Upload File :
Create Path :
Current File : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartjs/scatter/scatter-logX.min.js

/*!
 * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack)
 * Copyright 2018 PIXINVENT
 * Licensed under the Themeforest Standard Licenses
 */
$(window).on("load",function(){var ctx=$("#scatter-logx"),chartOptions={responsive:!0,maintainAspectRatio:!1,responsiveAnimationDuration:800,title:{display:!1,text:"Chart.js Scatter Chart - Logarithmic X-Axis"},scales:{xAxes:[{type:"logarithmic",position:"bottom",ticks:{userCallback:function(tick){var remain=tick/Math.pow(10,Math.floor(Chart.helpers.log10(tick)));return 1===remain||2===remain||5===remain?tick.toString()+"Hz":""}},gridLines:{zeroLineColor:"rgba(0,0,0,.1)",color:"#f3f3f3",drawTicks:!1},scaleLabel:{labelString:"Frequency",display:!0}}],yAxes:[{type:"linear",ticks:{userCallback:function(tick){return tick.toString()+"dB"}},gridLines:{zeroLineColor:"rgba(81,117,224,1)",color:"#f3f3f3",drawTicks:!1},scaleLabel:{labelString:"Voltage",display:!0}}]}},chartData={labels:["January","February","March","April","May","June","July"],datasets:[{label:"V(node2)",data:[{x:1,y:-.01711},{x:1.26,y:-.02708},{x:1.58,y:-.04285},{x:2,y:-.06772},{x:2.51,y:-.1068},{x:3.16,y:-.1681},{x:3.98,y:-.2635},{x:5.01,y:-.4106},{x:6.31,y:-.6339},{x:7.94,y:-.9659},{x:10,y:-1.445},{x:12.6,y:-2.11},{x:15.8,y:-2.992},{x:20,y:-4.102},{x:25.1,y:-5.429},{x:31.6,y:-6.944},{x:39.8,y:-8.607},{x:50.1,y:-10.38},{x:63.1,y:-12.23},{x:79.4,y:-14.13},{x:100,y:-16.07},{x:126,y:-18.03},{x:158,y:-20},{x:200,y:-21.99},{x:251,y:-23.98},{x:316,y:-25.97},{x:398,y:-27.97},{x:501,y:-29.96},{x:631,y:-31.96},{x:794,y:-33.96},{x:1e3,y:-35.96}],backgroundColor:"rgba(81,117,224,.6)",borderColor:"transparent",pointBorderColor:"#5175E0",pointBackgroundColor:"#FFF",pointBorderWidth:2,pointHoverBorderWidth:2,pointRadius:4}]},config={type:"scatter",options:chartOptions,data:chartData};new Chart(ctx,config)});

Zerion Mini Shell 1.0