网站建设资讯

NEWS

网站建设资讯

Sparklines图表-创新互联

参数

成都创新互联公司专注为客户提供全方位的互联网综合服务,包含不限于成都网站建设、网站建设、孝昌网络推广、小程序设计、孝昌网络营销、孝昌企业策划、孝昌品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们大的嘉奖;成都创新互联公司为所有大学生创业者提供孝昌建站搭建服务,24小时服务热线:18982081108,官方网址:www.cdcxhl.com
$(selector).sparkline(values, options);
typeOne of 'line' (default), 'bar', 'tristate', 'discrete', 'bullet', 'pie' or 'box'
widthWidth of the chart - Defaults to 'auto' - May be any valid css width - 1.5em, 20px, etc (using a number without a unit specifier won't do what you want) - This option does nothing for bar and tristate chars (see barWidth)
heightHeight of the chart - Defaults to 'auto' (line height of the containing tag)
lineColorUsed by line and discrete charts to specify the colour of the line drawn as a CSS values string
fillColorSpecify the colour used to fill the area under the graph as a CSS value. Set to false to disable fill
chartRangeMinSpecify the minimum value to use for the range of Y values of the chart - Defaults to the minimum value supplied
chartRangeMaxSpecify the maximum value to use for the range of Y values of the chart - Defaults to the maximum value supplied
compositeIf true then don't erase any existing chart attached to the tag, but draw another chart over the top - Note that width and height are ignored if an existing chart is detected.
Note: You'll usually want to lock the axis on both charts using chartRangeMin and chartRangeMax if you want the same value on each chart to occupy the same point.
enableTagOptionsIf true then options can be specified as attributes on each tag to be transformed into a sparkline, as well as passed to the sparkline() function. See also tagOptionPrefix
tagOptionPrefixString that each option passed as an attribute on a tag must begin with. Defaults to 'spark'
tagValuesAttributeThe name of the tag attribute to fetch values from, if present - Defaults to 'values'
disableHiddenCheckSet to true to disable checking for hidden sparklines. This can be beneficial if you know you'll never attempt to draw a sparkline into a hidden parent element as it avoids a browser reflow for the test, increasing rendering performance.
Defaults to false - New in 2.0

链接:

http://omnipotent.net/jquery.sparkline/#s-docs

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


标题名称:Sparklines图表-创新互联
当前路径:http://njwzjz.com/article/degdcp.html