Topic
  • 6 replies
  • Latest Post - ‏2009-08-31T03:04:36Z by wudongf
jvarga
jvarga
7 Posts

Pinned topic Webcharts: Translucent bars with custom colors?

‏2009-08-27T22:51:23Z |
In WebCharts, I can choose a variety of Paint Palettes that have "Translucent" in the name, and the bars come out translucent, which I think is a nice effect. Is there a way to get the translucent effect while specifying the colors for a series? For example, I always want the 1st series to be blue, the 2nd to be green, the 3rd yellow and so on. I know how to specify the colors but I don't see an option to make them translucent.

A somewhat related question, does anyone know how to find the actual color values that the palettes use? I would like to use a variation of the DawnTranslucent colors for my graph.
Updated on 2009-08-31T03:04:36Z at 2009-08-31T03:04:36Z by wudongf
  • wudongf
    wudongf
    289 Posts

    Re: Webcharts: Translucent bars with custom colors?

    ‏2009-08-28T02:31:15Z  
    Hi,

    After you set translucent for your chart, all the series will be translucent, set different color in series will not change it.

    Or do you want to make one of your series translucent, the other not? I'm afraid this is not supported.
  • jvarga
    jvarga
    7 Posts

    Re: Webcharts: Translucent bars with custom colors?

    ‏2009-08-28T13:30:28Z  
    • wudongf
    • ‏2009-08-28T02:31:15Z
    Hi,

    After you set translucent for your chart, all the series will be translucent, set different color in series will not change it.

    Or do you want to make one of your series translucent, the other not? I'm afraid this is not supported.
    I want them all translucent. Where do I set Translucent for the chart? If I use the DawnTranslucent palette but set custom colors for each series, they are not showing up translucent. Is there another place to set it?
  • wudongf
    wudongf
    289 Posts

    Re: Webcharts: Translucent bars with custom colors?

    ‏2009-08-28T13:49:42Z  
    • jvarga
    • ‏2009-08-28T13:30:28Z
    I want them all translucent. Where do I set Translucent for the chart? If I use the DawnTranslucent palette but set custom colors for each series, they are not showing up translucent. Is there another place to set it?
    Does this style work for you?

    <?xml version="1.0" encoding="UTF-8"?>
    <frameChart is3D="false">
    <frame xDepth="12" yDepth="11"/>
    <yAxis scaleMin="0">
    <labelFormat pattern="#,##0.###"/>
    <parseFormat pattern="#,##0.###"/>
    </yAxis>
    <legend allowSpan="true" equalCols="false" halign="Right" isMultiline="true">
    <decoration style="None"/>
    </legend>
    <elements drawShadow="true">
    <morph morph="Grow"/>
    <series index="1">
    <paint color="#90B20059"/>
    </series>
    <column index="0">
    <paint color="#90B25900"/>
    </column>
    </elements>
    <table>
    <heatmap isEnabled="false" minLevel="0.0" maxLevel="0.0"/>
    </table>
    <decoration style="RoundShadow"/>
    <paint palette="DawnTransluent" paint="Plain" isVertical="true" min="47" max="83"/>
    <insets right="5"/>
    </frameChart>
  • jvarga
    jvarga
    7 Posts

    Re: Webcharts: Translucent bars with custom colors?

    ‏2009-08-28T17:57:28Z  
    • wudongf
    • ‏2009-08-28T13:49:42Z
    Does this style work for you?

    <?xml version="1.0" encoding="UTF-8"?>
    <frameChart is3D="false">
    <frame xDepth="12" yDepth="11"/>
    <yAxis scaleMin="0">
    <labelFormat pattern="#,##0.###"/>
    <parseFormat pattern="#,##0.###"/>
    </yAxis>
    <legend allowSpan="true" equalCols="false" halign="Right" isMultiline="true">
    <decoration style="None"/>
    </legend>
    <elements drawShadow="true">
    <morph morph="Grow"/>
    <series index="1">
    <paint color="#90B20059"/>
    </series>
    <column index="0">
    <paint color="#90B25900"/>
    </column>
    </elements>
    <table>
    <heatmap isEnabled="false" minLevel="0.0" maxLevel="0.0"/>
    </table>
    <decoration style="RoundShadow"/>
    <paint palette="DawnTransluent" paint="Plain" isVertical="true" min="47" max="83"/>
    <insets right="5"/>
    </frameChart>
    Yes, that comes out translucent. But how?
  • jvarga
    jvarga
    7 Posts

    Re: Webcharts: Translucent bars with custom colors?

    ‏2009-08-28T18:52:51Z  
    • jvarga
    • ‏2009-08-28T17:57:28Z
    Yes, that comes out translucent. But how?
    OK I got the general idea of the translucency. Any idea on how to find out what colors the DawnTranslucent palette is using? I'm having a hard time coming up with a set of colors that I like as much and are color-blind compatible.
  • wudongf
    wudongf
    289 Posts

    Re: Webcharts: Translucent bars with custom colors?

    ‏2009-08-31T03:04:36Z  
    • jvarga
    • ‏2009-08-28T18:52:51Z
    OK I got the general idea of the translucency. Any idea on how to find out what colors the DawnTranslucent palette is using? I'm having a hard time coming up with a set of colors that I like as much and are color-blind compatible.
    Sorry, I've problem in understanding your question. You are able to set the color for each column in series paint, and because the setting of DawnTranslucent, the colors change a bit.
    Do you asking the way that DawnTranslucent change the color?