将HighCharts与< table>一起使用时如何指定一系列数据? [英] How to specify a range of data when using HighCharts with <table>?

查看:93
本文介绍了将HighCharts与< table>一起使用时如何指定一系列数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现系统



http://jsfiddle.net/FYtnj/1/


I found this great tutorial on using HighCharts with , very useful but I couldn't find a related API letting me only specify a part of data in the table.

For example, in the case above (I added 2 cols to make it more easy to describe), what should I do if I only want to use HighCharts to display the data in a range (in the red dotted range)

Is there some parameter like datarange:{[0,0,4,4]} or even sometimes I only want to take care of some more complicated ranges (in the second image)

解决方案

According to documentation:

 * table : String|HTMLElement
 * A HTML table or the id of such to be parsed as input data. Related options ara startRow,
 * endRow, startColumn and endColumn to delimit what part of the table is used.

You can use startColumn/endColumn but data range is unforutnaltey not supported. You can request your suggestion in userVoice http://highcharts.uservoice.com/ system

http://jsfiddle.net/FYtnj/1/

这篇关于将HighCharts与< table>一起使用时如何指定一系列数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆