locked
CRM 2011 & 2013 Chart capabilities RRS feed

  • Question

  • Hi
    I need your help regarding some properties on Chart Series !

    I am a defining a series like this :

    <Series >
            <Series IsVisibleInLegend="false" IsValueShownAsLabel="False" BackSecondaryColor="112, 142, 50" Font="{0}, 9.5px"   Palette="SemiTransparent" CustomProperties="StackedGroupName=Records,MaxPixelPointWidth=30, MinPixelPointWidth=10" LabelForeColor="59, 59, 59" ChartType="StackedColumn">
              <SmartLabelStyle Enabled="True" />
              
             
            </Series>

    This works fine as per I want.

    I want to set a customPalette on Series. How can I do that ?
    I know I can do that by setting Palette=”none”. But how can I define color scheme for paletter Custom colors ?

    2. If I try for msdn, all the documentation seems to be relative to SSRS rdl files. And I noticed that CRM chart visualisation properties are different than SSRS design properties. Where can I find proper documentation on this ?

    Thanks a lot !

    Thursday, February 20, 2014 3:54 PM

All replies

  • Thursday, February 20, 2014 3:58 PM
    Moderator
  • Hi Jason

    I have already checked it. Seems like CRM Chart guy is very popular :) . Everyone ends up at his page.

    But he is setting palette and custompaletteColors on Chart properties.

    I want to do it on Chart Series.

    As you can see, I can set palette on Series to pre-defined palette templates. (SemiTransparent in my case).

    But how to setup a custom palette.

    Thanks

    Thursday, February 20, 2014 4:00 PM
  • You can't set a palette on a series. A series only supports one color. For example you can add Color="Blue" to the series properties.

    Ulrik,
    Blog: http://crmchartguy.wordpress.com - Exclusively for MS CRM 2011 Charts
    Twitter: crmchartguy

    Wednesday, February 26, 2014 4:50 PM
  • Thanks for replying Ulrik

    Check my original post in this thread.

    I have used Palette on series. and it works fine. Only thing is I can use from pre-defined Palette.

    I want to use custom one. 

    Wednesday, February 26, 2014 9:01 PM
  • We might be out of luck here.

    According to the documentation it should be possible if you set Palette="None" in both the chart properties and the series. Then it should go to your PaletteCustomColors definition.

    http://msdn.microsoft.com/en-us/library/system.web.ui.datavisualization.charting.series.palette.aspx

    However, if you do that, each item in the series will get the same color according to the custom palette. It will not assign different colors within the same series, which I'm assuming is what you are trying to achieve.


    Ulrik,
    Blog: http://crmchartguy.wordpress.com - Exclusively for MS CRM Charts
    Twitter: crmchartguy

    Wednesday, February 26, 2014 10:48 PM
  • True. I agree to your explanation Ulrik.

    What I am trying to do here is to define something similar to CustomPaletteColors property on series, which I think is not available. Like it does on chart.

    So seems like using pre-defined palette combinations is my only option so far.

    PS: Strange thing is, such capability exists in SSRS, then why not in .net charting.

    Not sure, if I should set this post as complete or wait if someone figures out something. :)

    Thursday, February 27, 2014 8:08 AM
  • I would say leave it open. Who knows if a solution might pop up.

    From the documentation, it does look like it is supported in .net charts, but this is probably one of those areas where CRM charts doesn't fully follow .net charts.
    It's rare, but it does happen every now and then.


    Ulrik,
    Blog: http://crmchartguy.wordpress.com - Exclusively for MS CRM Charts
    Twitter: crmchartguy

    Thursday, February 27, 2014 6:41 PM