on 01-21-2008 3:57 PM
I am trying to add a column of colored lights for a Grid in a 12.0 (12.0.2, Build 88) environment. I select Grid, Grid Type = Lights. I go to Color Context and apply Green to PASSED and Red to FAILED and White to *. I then save the Display Template and when I reopen it all the colors have been reset to the default of Black.
I have tried this with Grid Type = Column Lights. I have tried selecting the colors with RGB and with the color palette. It always sets back to Black. I also tried to change the Color of Selected Row to a light blue and it then only displayed Black in my GUI.
Has anyone else run into this problem? Any suggestions?
Thanks,
Mike
Mike,
Export the template after setting the value and then also after you re-open it and compare the XMLs. Are they the same? Do they contain values for the colors you set? If not please enter this into CSS. If they do then someone/something else is saving over your file.
Hope this helps.
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sam,
Nice technique. Unfortunately, the exported file shows Black, so I would imagine that the application is not saving the color mods correctly. The exact section of the exported file shows:
MatchColors="#000000,#000000,#000000," MatchColumns="COL1" MatchMode="String" MatchValues="PASSED,FAILED,RETRY,*"
I modified the file directly and then imported it back in. The directly made changes were now there ("#FF0000,#00FF00,#FFFF00,#FFFFFF"). But now these values appear to be permanent and cannot be modified and saved (inside the workbench). So it would appear that the functionality to allow changes to the color context is not working. I will see about getting CSS involved (I can't do it directly).
Thanks,
Mike
Hi,
must be a bug in xMII 12. I have the same problem here!
Regards
Timo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Timo,
Apparently there are some issues in the display templates in 12.0.2 which are supposed to be resolved in the next Service Release. The next release is in testing, I believe. So maybe sometime soon (a month?), we shall see it. At the same time, I opened a ticket in Services Marketplace and got that information. I appreciate you posting as I should have mentioned it here when I found out.
Thanks,
Mike
Mike,
A workaround solution would be to use applet parameters to overload the display template properties you observed, and this would not be as much of a hack as the export/import.
<APPLET...>
<PARAM NAME="MatchColors" VALUE="xxx,xxx,xxx">
<PARAM NAME="MatchValues" VALUE="xxx,xxx,xxx">
</APPLET>
Regards,
Jeremy
Dear Jeremy,
This works,
<APPLET ....>
<PARAM NAME="QueryTemplate" VALUE="Lboro/orders_sqry">
<PARAM NAME="DisplayTemplate" VALUE="Lboro/orders_igrid">
<PARAM NAME="MatchMode" VALUE="String">
<PARAM NAME="MatchColumns" VALUE="Status">
<PARAM NAME="MatchValues" VALUE="Online,Completed,*">
<PARAM NAME="MatchColors" VALUE="#5AB2CE,#AAFF00,#000000">
<PARAM NAME="Content-Type" VALUE="image/png">
</APPLET>
Now how match the columns and the values for a 3D BAR Chart where I have only custom labels defined..
thanks in advance!
Domnic
I tried using the PenColor.1 2 3 method too.. but the ichart is set for the first pen color and even if I change the pen colors for 2 and 3 ..they are not reflected to the chart. I am using 12.0 .. I tried to place it in the code like
<PARAM NAME="PenColor.2" VALUE=" Blue">
but what ever the color set for Pen 1 is painted for Pen 2 too.. is there any thing I have to know here..
thanks
Domnic
Domnic,
This probably should be its own thread since the context is different.
Some of the chart types like Bar will use the same color for all pens, whereas GroupBar would allow for pen based color control. Check the help docs for possible insight into details on different chart type coloring behavior.
Regards,
Jeremy
Try exporting the display template, modifying it externally and then importing it. It is the same technique that Sam Castro suggested (sort of) which I used to verify that xMII was not saving color context changes. You may have the same problem with the pen colors. It is a hack as Jeremy says, but it does provide good insight.
Good luck!
Mike
Thanks guys for your suggestions.. I did try some on my own.
I used the bar char.. and under data mapping I put the label columns as the column where I had the data.
I did give different colors on the pen..it works fine now. I remember the only difference is that..the label columns were not entered before.
thanks for your input
cheers
Domnic
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.