Jump to content


Pyramid and Funnel paletteThemeColors Option...


  • Please log in to reply
1 reply to this topic

#1 Sudipto Choudhury

Sudipto Choudhury

    Supreme Being

  • Administrators
  • 2099 posts

Posted 01 April 2009 - 02:19 AM

Hi,



paletteThemeColor is applied on the theme of the chart and not the chart data elements.



It affects the background, font color, border color etc.
Regards,

Sudipto Choudhury
FusionCharts Team

I code, therefore I am.

Follow us on Twitter

#2 sine909

sine909

    Junior Member

  • Members
  • PipPip
  • 18 posts

Posted 31 March 2009 - 05:11 PM

I'm trying to use a similar method of supplying my own color palettes (so my users have options) for Pyramid and Funnel charts, in line with all of the other single-axis style charts (ie. their s match the FushionCharts 3.1 1-axis chart reports perfectly).



The problem is that for the life of me I can't get the Palette functionality working. All other single-axis charts use paletteColors='ff0000,00ff00,0000ff' as their method of accomplishing this.



According to the FusionWidget documentation of Funnels and Pyramids they use paletteThemeColor, which is a tad annoying - but workable, IF it worked.



For me it doesn't.



Based on the documentation it also sounds like paletteThemeColor is intended to take in a single color rather than a series, and it will magically generate your palette from that - but that unfortunately doesn't work either. No matter what I put in that value it seems to have no effect for either Funnel or Pyramid widgets, whether they're 2D or 3D.



Is this a known bug? I know I can color them by adding color to the individual elements - but that mean a bunch of additional code to manually do that (and handle looping at the end of the palette etc). My developer will not be happy if I give him that solution for just these chart types...



Any ideas?



=Luke
~

Luke Freiler

CTO @ Centercode, Inc.

IM: lukefreiler

~