在ireport设计器中使用列表组件中的颜色代码 [英] Using color codes in list component in ireport designer

查看:459
本文介绍了在ireport设计器中使用列表组件中的颜色代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想显示按销售额订购的商品清单。我想使用一些颜色代码来显示具有实际值的高,中和低。即列表中的每个项目将包含否,项目名称,颜色代码(方形)和销售额。这在iReport设计师中是否可行?另外,我想在我的列表中应用垂直滚动条。如何在iReport设计器中实现这一目标。
谢谢。

I want to display a list of items ordered by their sales amount. I want to use some color code for displaying high, medium and low with actual values. i.e. each item in list will contain the no, item name, color code(in a square) and sales amount. Is this possible in iReport designer? Also I want to apply a vertical scroll bar to my list. How both this can be achieved in iReport designer. Thank you.

推荐答案

我从上面了解你的问题,我认为你需要根据颜色显示不同的颜色具有销售额的高,中等等。

what I understand from above your question, I think you need to display different color based on high, medium, etc. with sales amount.

通过应用条件样式,您可以获得您的要求

By applying Conditional Styles, you can able to get your requirement

格式化字段数据颜色条件

例如,如果salesamount介于X和Y之间,您可以使用所需的颜色应用特定样式。

For example, if salesamount is between X and Y, you can apply a specific style using the color you want.

条件样式参考

希望这可以帮到你。

这篇关于在ireport设计器中使用列表组件中的颜色代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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