David Muldowney Posted October 1, 2007 Report Share Posted October 1, 2007 Hi Our application uses the default color schemes (ChartFX6) Some clients want some of the colors (e.g. series colors) altered in a few of the charts. I've used the article on creating your own palettes (Q6001019. Creating color palettes for ChartFX for .NET) and have got it working fine. However the colors supplied for this article (user.pal) are not based on my base color scheme (ChartFX6). Thus the colors of many aspects of the charts differ from our standard look. Getting compatibility between series and borders is also problematic. The best way is to adjust the ChartFX6 palette for the client requests. How would I go about getting this? Thanks David Quote Link to comment Share on other sites More sharing options...
Frank Posted October 2, 2007 Report Share Posted October 2, 2007 The following is the source for the ChartFX6 palette: ; Default Palette 49 Colors 255,255,255 ; Yellows:1 255,255,204 255,231,132 255,199,0 245,167,51 200,154,58 145,111,44 ; Orange-Red:7 255,221,194 255,121,0 239,47,65 158,47,13 115,30,5 69,13,0 ; Pink-Magenta:13 252,222,239 250,155,207 224,7,123 186,24,113 165,0,56 110,5,63 ; Purples:19 224,224,224 208,197,227 173,168,255 117,136,221 86,101,163 75,82,114 ; Blues:25 213,228,247 172,202,242 81,121,214 47,54,233 47,47,178 30,30,133 ; Cyans:31 189,230,252 97,189,242 7,186,206 65,130,148 47,94,140 38,74,84 ; Greens:37 227,252,167 186,229,92 102,204,102 47,166,117 47,117,86 20,82,54 ; Tan-Black:43 235,235,202 204,204,153 199,199,199 168,168,168 102,102,102 0,0,0 ; ++++++++++++++++++++++ Legend for Special Values +++++++++++++++++++++ ; 255 Transparent; ; 254 SystemColors.Window ; 253 SystemColors.Control ; 252 SystemColors.ControlDark ; 251 SystemColors.WindowText ; 250 SystemColors.ControlText ; 249 SystemColors.ControlLight ; 248 SystemColors.ControlLightLight ; 247 SystemColors.ControlDarkDark ; 246 SystemColors.Caption ; 245 SystemColors.CaptionText ; 244 Highlight ; 243 HighlightText ; 242 Highlight with alpha 32 ; ; ------------------------- Start Scheme ------------------------- ; Series Colors; Windows. 27 39 9 3 32 8 22 35 33 38 16 1 31 45 21 40 ; Background 253 ; Alt Background 248 ; Inside Background 0 ; Border 252 ; Axes and Gridlines 252 ; Axes Alternate 249 ; Constant Lines 15 ; Stripes 20 ; Labels 250 ; Point Labels 247 ; Marker Border 46 ; Titles Fore 250 ; Titles Back 255 ; LegendText 250 ; LegendBackground 255 ; DataBack 248 ; DataFore 247 ; DataAlternateBack 249 ; DataAlternateFore 247 ; DataTitlesBack 247 ; DataTitlesFore 0 ; DataGridlines 252 ; DataBackground 255 ; HighlightBorder 27 ; HighlightText 35 ; HighlightBackText 37 ; BorderLight 27 ; BorderVivid 22 ; ------------------------- Start Scheme ------------------------- ChartFX6. ; Series Colors; 27 39 9 3 32 1 22 35 33 38 16 8 31 45 21 40 ; Background 0 ; Alt Background 25 ; Inside Background 19 ; Border 46 ; Axes and Gridlines 46 ; Axes Alternate 45 ; Constant Lines 15 ; Stripes 20 ; Labels 47 ; Point Labels 47 ; Marker Border 46 ; Titles Fore 47 ; Titles Back 255 ; LegendText 47 ; LegendBackground 255 ; DataBack 0 ; DataFore 47 ; DataAlternateBack 19 ; DataAlternateFore 47 ; DataTitlesBack 48 ; DataTitlesFore 0 ; DataGridlines 45 ; DataBackground 255 ; HighlightBorder 35 ; HighlightText 48 ; HighlightBackText 25 ; BorderLight 26 ; BorderVivid 25 ; ------------------------- Start Scheme -------------------------- ModernBusiness. ; Series Colors 38 29 32 37 21 3 15 20 1 44 40 8 2 26 9 39 ; Background 22 ; Alt Background 23 ; Inside Background 22 ; Border 30 ; Axes and Gridlines 48 ; Axes Alternate 26 ; Constant Lines 28 ; Stripes 14 ; Labels 48 ; Point Labels 48 ; Marker Border 48 ; Titles Fore 48 ; Titles Back 255 ; LegendText 48 ; LegendBackground 255 ; DataBack 22 ; DataFore 48 ; DataAlternateBack 26 ; DataAlternateFore 48 ; DataTitlesBack 48 ; DataTitlesFore 0 ; DataGridlines 23 ; DataBackground 255 ; HighlightBorder 27 ; HighlightText 48 ; HighlightBackText 37 ; BorderLight 23 ; BorderVivid 27 ; ------------------------- Start Scheme ------------------------- EarthTones. ; Series Colors 39 3 1 5 9 11 37 34 38 46 4 33 40 47 2 8 ; Background 43 ; Alt Background 44 ; Inside Background 43 ; Border 5 ; Axes and Gridlines 47 ; Axes Alternate 44 ; Constant Lines 15 ; Stripes 31 ; Labels 48 ; Point Labels 48 ; Marker Border 47 ; Titles Fore 48 ; Titles Back 255 ; LegendText 48 ; LegendBackground 255 ; DataBack 43 ; DataFore 48 ; DataAlternateBack 1 ; DataAlternateFore 48 ; DataTitlesBack 48 ; DataTitlesFore 0 ; DataGridlines 46 ; DataBackground 255 ; HighlightBorder 6 ; HighlightText 47 ; HighlightBackText 0 ; BorderLight 44 ; BorderVivid 38 ; ------------------------- Start Scheme ------------------------- Alternate. ; Series Colors 27 9 3 38 33 23 26 2 8 32 39 21 44 17 22 40 ; Background 0 ; Alt Background 25 ; Inside Background 19 ; Border 45 ; Axes and Gridlines 46 ; Axes Alternate 45 ; Constant Lines 15 ; Stripes 20 ; Labels 47 ; Point Labels 47 ; Marker Border 46 ; Titles Fore 47 ; Titles Back 255 ; LegendText 47 ; LegendBackground 255 ; DataBack 0 ; DataFore 47 ; DataAlternateBack 25 ; DataAlternateFore 47 ; DataTitlesBack 48 ; DataTitlesFore 0 ; DataGridlines 45 ; DataBackground 255 ; HighlightBorder 27 ; HighlightText 47 ; HighlightBackText 26 ; BorderLight 25 ; BorderVivid 21 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.