我希望jQuery数据表在第一列中自动创建行号列,如VB中的datagrid.
它看起来像这样:

谁知道怎么做?
有没有办法在hightcharts jquery中更改图表的字体大小?我已经尝试过fontsize选项,但它根本不起作用..
我试图使图例字体更小,以便它可以适合购物车,如果图例长,则不会创建新行.也许有人试过吗?
这是我的脚本:
options = {
chart: {
backgroundColor: {
linearGradient:[0, 0, 500, 500],
stops: [
[0, 'rgb(255,255,255)'],
[1, 'rgb(237,236, 250)']]},
type: tGraf,
renderTo: contGrafik,
defaultSeriesType: 'column',
width: sWidth
},
title: {
text: 'Human Resources',
style: {
font: 'normal 14px Verdana, sans-serif',
color : 'black'
}
},
subtitle: {
text: '',
style: {
font: 'normal 11px Verdana, sans-serif',
color : '#000099'
}
},
xAxis: {
title: {
text : ''
},
labels: {
rotation: 0,
align: 'right',
style: { …Run Code Online (Sandbox Code Playgroud)