Flot-Spider Options 参数说明

这篇文章详细描述了一个系列图表中的蜘蛛图配置参数,包括活动状态、显示设置、线条宽度、颜色、点大小、比例模式、范围限制、标签属性等,旨在帮助开发者精确控制图表展示效果。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

series: {
        spider: {
            active: true, // must be true to enable the spider
            show: false, 
            spiderSize: 0.8, // size compared to canvas
            lineWidth: 3, // width of legs
            lineStyle: "rgba(0,0,0,0.5)", // color of legs
            pointSize: 6, // size of dots at values
            scaleMode: "leg", // leg|all
            legMin: null, // specify min value
            legMax: null, // specify max value
			legValues: false, // show "axis" values
            connection: {width: 4}, // width of connecting lines
            highlight: {opacity: 0.5, mode: "point"},
            legs: {
		    	font: { family: "Times New Roman", size: 20 },
                fillStyle: "Black",
                legScaleMin: 0.95,
                legScaleMax: 1.05,
                legStartAngle: 0, // default is 3 o'clock position, -90 means first label is at the top
			    labelWidth: 0, // try to limit width of labels. 0 means no width and they will be on one line
			    labelSpace: 100, // distance from outer circle to center of label
            }
        }
    }
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值