jqplot背景颜色区域? [英] jqplot Background Color Zones?

查看:80
本文介绍了jqplot背景颜色区域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够在我的jqplot条形图上用背景指示几个不同的区域".

I would like to be able to have several different "zones" indicated by the background on my jqplot bar chart.

我仔细阅读了文档,但无法轻松确定实现此目的的方法.

I have looked through the documentation, but have been unable to easily identify a way to do this.

是否有一个简单的填充"功能或参数可以使我在几个水平颜色带(不同高度)中设置背景?

Is there a simple "fill" function or parameter that would allow me to set the background in several bands of horizontal color (various heights)?

谢谢.

FG

推荐答案

我将使用与答案相同的方法一个不同的问题.

直接链接到代码示例.

然后,您将相应地设置基础线的大小以突出显示您的区域. 例如,@ Katya使用此方法,该链接显示在指向上述答案的评论之一下的@Katya中.

You would then set the sizes of the underlying lines accordingly to highlight your regions. This approach is for example used by @Katya presented in the link under one of the comments to the aforementioned answer.

直接链接到Katya的代码示例.

这篇关于jqplot背景颜色区域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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