当前位置: 首页 > news >正文

全国做网站的大公司10个优秀的网页设计欣赏

全国做网站的大公司,10个优秀的网页设计欣赏,icp备案网站要先建好吗,西部数码网站管理助手3.0教程来由 在github发现个好看易用的vue趋势线组件,特此记录。 效果 趋势图生成后效果如上,线条为渐变色,可设置是否平滑。具体线条走势,根据数据动态生成。 使用 安装 npm i vuetrend -S 引入 import Vue from "vue"…

来由

在github发现个好看易用的vue趋势线组件,特此记录。

效果

趋势图生成后效果如上,线条为渐变色,可设置是否平滑。具体线条走势,根据数据动态生成。 

使用

安装

npm i vuetrend -S

引入

import Vue from "vue"
import Trend from "vuetrend"Vue.use(Trend)

使用

<trend:data="[0, 2, 5, 9, 5, 10, 3, 5, 0, 0, 1, 8, 2, 9, 0]":gradient="['#6fa8dc', '#42b983', '#2c3e50']"auto-drawsmooth
>
</trend>

其他可配置项

NameTypeDefaultDescriptionExample
dataNumber|ObjectundefinedThe data accepted by Vue Trend is incredibly simple: An array of y-axis values to graph.[120, 149, 193.4, 200, 92] or [{ value: 4 }, { value: 6 }, { value: 8 }]
gradientString['#000']Colour can be specified as any SVG-supported format (named, rgb, hex, etc).['#0FF', '#F0F', '#FF0']
gradientDirectionStringtopTop, Bottom, Left or Right.
widthNumberautoSet an explicit width for your SVG.-
heightNumberautoSet an explicit height for your SVG.-
paddingNumber8If you set a very large strokeWidth on your line, you may notice that it gets "cropped" towards the edges.-
smoothBooleanfalseSmooth allows the peaks to be 'rounded' out so that the line has no jagged edges.-
radiusNumber10When using smoothing, you may wish to control the amount of curve around each point. This prop has no effect if smooth isn't set to true.-
autoDrawBooleanfalseAllow the line to draw itself on mount. Set to true to enable, and customize using autoDrawDuration and autoDrawEasing.-
autoDrawDurationNumber2000The amount of time, in milliseconds, that the autoDraw animation should span. This prop has no effect if autoDraw isn't set to true.-
autoDrawEasingStringeaseThe easing function to use for the autoDraw animation. Accepts any transition timing function within the CSS spec (eg. lineareaseease-incubic-bezier...).-
maxNumber-InfinitySpecify max value-
minNumberInfinitySpecify min value, This is useful if you have multiple lines. See #8-

组件来自于:GitHub - QingWei-Li/vue-trend: 🌈 Simple, elegant spark lines for Vue.js 

http://www.yayakq.cn/news/823735/

相关文章:

  • 网站建设平台怎么样南京广告公司黄页
  • 宝安网站设计网站后台导航随意添加
  • 网站建设sql语句留言板帮做图标的网站
  • 建设网站报告宝安高端网站建设公司
  • 攀枝花住房和城乡建设厅网站网站怎么做微信分享
  • 国外有趣的网站最新军事战况
  • 叫别人做网站要注意什么如何使网站做的更好
  • 门户网站建设要点临汾建设局官方网站
  • 福建建设人才与科技发展中心网站软件开发需要学什么知识
  • 做打鱼网站犯法不公众号开发者密码怎么启用
  • 台州律师网站建设竹子建站公司
  • 网站的优点有哪些方面5050众筹网站开发
  • 什么网站做软件任务挣钱西安做网站 怎样备案
  • 域名是建网站之前申请吗wordpress那个主题收录好
  • 网站如何做的看起来高大上wordpress frontopen2
  • asp.net c 网站开发产品摄影网站
  • 河南郑州做网站汉狮大学生电子商务大赛作品参考
  • 线报网站如何做seo关键字排名优化
  • 网站空间 数据库汕头智能模板建站
  • 网站如何增加增删查改怎么做wordpress 批量换
  • 织梦网站所有图片不显示上海网站建设公司服务
  • 如何做一名合格的网站人深圳十大平面设计公司排名
  • 信息图制作网站做网站必备
  • 网站建设捌金手指花总十二什么软件免费设计logo
  • 积分兑换商城网站建设php网站开发ppt
  • 支付宝可以给第三方网站做担保么住建个人证书查询网
  • 随州做网站生意怎么样只有域名如何做网站
  • 网站建设详细教程wordpress 增加域名
  • 专门做中式的设计网站VPS如何做网站服务器
  • 商丘做手机做网站全球十大it外包公司排名