|
Re: Filling Color For Sirius Diagram Container [message #1441835 is a reply to message #1441208] |
Fri, 10 October 2014 08:54 |
|
Hello,
It depends how you want to select the color for these container.
One way is to define "Conditional style" in your mapping in order to
select a color depending of a condition.
Another way, is to create a new "palette" (under the root element of
your VSM). In this palette, you create an interpolated color (that you
will use in the style of your container mapping) with a "color value
computation expression" that will return a different integer value for
each containers of your diagram (index of the element among all of
them?) between the interval of the color steps that you will define as
sub-elements (0 to number of element?). This will result in a graduated
shading through your containers. Note that you can had as much color
step as you want in order to have several graduated shading.
Regards,
Steve
Le 09/10/2014 13:52, pragati shinde a écrit :
> Hi,
>
> I am able to generate sirius diagram programmatically , with some
> default color for all containers in diagram . But i want to fill
> different color for each container in diagram , how to do it
> programmatically?
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03867 seconds