Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Flex 中将图例的元素显示为直线而不是默认的彩色框,基本上图例应该是不同颜色的直线我尝试添加直线但作为图例项但它不起作用任何帮助都会受到高度评价。
以下样式可能会帮助您提供与您想要的线条相同的外观和填充......: -
<mx:Style> @namespace mx "library://ns.adobe.com/flex/mx"; mx|Legend { labelPlacement:left; markerHeight:2; markerWidth:30; } </mx:Style>