首页 > Web开发 > 详细

angualr之chart.js图表

时间:2017-06-29 18:44:10      阅读:394      评论:0      收藏:0      [点我收藏+]

1.图表出现负数

chartOptions = {
maintainAspectRatio: false,
scales: {
yAxes: [{
ticks: {
suggestedMin: 0,
suggestedMax: 10
}
}]
}
}
2.
 
@@ -515,11 +515,16 @@
    -webkit-box-flex: 1;
    }
    :host >>> p-chart div:first-child .chartjs-hidden-iframe{
    height:100%;
    /*height:100%;*/
    }
    :host >>> p-chart div:first-child canvas{
    /*width:auto !important;*/
    height:355px !important;
    /*height:355px !important;*/
    }
    :host >>> p-chart div:first-child{
    width: 100%;
    height: 360px;
    position: relative;
    }
    .table{
    width:100%;

angualr之chart.js图表

原文:http://www.cnblogs.com/zb347954263/p/7095832.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!