Sparklines 图表
发表于:2026-11-04 作者:千家信息网编辑
千家信息网最后更新 2026年11月04日,参数$(selector).sparkline(values, options);typeOne of 'line' (default), 'bar', 'tristate', 'discrete',
千家信息网最后更新 2026年11月04日Sparklines 图表
参数
$(selector).sparkline(values, options);
| type | One of 'line' (default), 'bar', 'tristate', 'discrete', 'bullet', 'pie' or 'box' |
| width | Width 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) |
| height | Height of the chart - Defaults to 'auto' (line height of the containing tag) |
| lineColor | Used by line and discrete charts to specify the colour of the line drawn as a CSS values string |
| fillColor | Specify the colour used to fill the area under the graph as a CSS value. Set to false to disable fill |
| chartRangeMin | Specify the minimum value to use for the range of Y values of the chart - Defaults to the minimum value supplied |
| chartRangeMax | Specify the maximum value to use for the range of Y values of the chart - Defaults to the maximum value supplied |
| composite | If 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. |
| enableTagOptions | If 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 |
| tagOptionPrefix | String that each option passed as an attribute on a tag must begin with. Defaults to 'spark' |
| tagValuesAttribute | The name of the tag attribute to fetch values from, if present - Defaults to 'values' |
| disableHiddenCheck | Set 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
参数
链接
图表
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
互联网科技公司经营范围
科技股互联网
与互联网科技公司
高科技与互联网
西安互联网科技
有马互联网科技
万达互联网科技
中国互联网金融科技基金
富国互联网科技创新基金
卫星互联网科技股票
中化能源互联网科技招聘
互联网经济与金融科技
注册互联网科技公司经营范围大全
浙南科技城互联网大厦建设工程
深圳互联网科技的发展
陕西云淼互联网科技公司
互联网的科技体现在哪里
深圳互联网科技园地址
黑龙江互联网科技公司
恒生科技互联网指数十大成分股
互联网科技公司发展
互联网科技金融公司
云电互联网科技
有木互联网科技
齐家互联网科技有限公司
丰台科技园 互联网公司
互联网 科技馆
福州新华互联网科技学校 知乎
福仕德教育科技互联网
东风日产互联网科技公司叫什么