Nishi Report post Posted April 7, 2010 Can any one help me out for setting different colors according to legends??For example if the legend color is Blue the value inside it should be white in color....And if the legend color is pink the value inside should be black in color for readability...Now i have set the color of legends at dataset tag level...And i tried to set the color of value at set tag level ...But the bars are also colored...I need only the values to change the color.... Thnx in advance Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted April 7, 2010 Hi Nishi, I am afraid, as of now, FusionCharts does not support this. However, could you please try applying "Styles" on the "font" attribute on "LEGEND" object. Ref.- <styles> <definition> <style name='myLegendFont' type='font' size='11' color='639ACE' bold='1' /> </definition> <application> <apply toObject='Legend' styles='myLegendFont' /> </application> </styles> Please note, in this case the color of the font will get applied to all the fonts of the Legend. Ref.- http://www.fusioncharts.com/docs?/AttDesc/Legend.html I hope this helps. Share this post Link to post Share on other sites
Nishi Report post Posted April 8, 2010 Hi.. I hav tried as u said....But u hav gave me example for legend values....I need for datavalues which displays inside bars....And i hav tried using syles by changing the above code by Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted April 8, 2010 Hi Nishi, As you have stated, in case you wish to customize the appearence of the data values, please try applying "Styles" on the "datavalues" object. I hope this helps. Share this post Link to post Share on other sites
Nishi Report post Posted April 8, 2010 Hi, No I hav tried using Data values...Stil the color is applied to all the data values....I hav given the color dynamically according to the legends.....But the funny thing is dat in the view selection source its showing the colrs dynamically but while displaying all the datavalues are in white color.... I m pasting sample code with one legend here....Actually i am having 3 legends....Can u check whether this is right... /> IFCode Share this post Link to post Share on other sites
Nishi Report post Posted April 8, 2010 Sorry some problem wen i am trying to insert my code..... I have attached the code........ Share this post Link to post Share on other sites
Nishi Report post Posted April 8, 2010 Sorry some problem occurred while pasting...... /> Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted April 8, 2010 Hi Nishi, Could you please send us the screen-shot of the same as an attachment? Awaiting your reply. Share this post Link to post Share on other sites