Jump to content
Software FX Community

Palette resource file problem


wallsy

Recommended Posts

Hi,

 After following the instructions for generating a palette resource file I am gettign the following error.

This .resources file shouldn't be used with this reader.  Your resource reader type: System.Resources.ResourceReader, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 at System.Resources.ResourceReader.ReadResources() at System.Resources.ResourceReader..ctor(String fileName) at System.Resources.ResourceSet..ctor(String fileName) at SoftwareFX.ChartFX.Internet.Server.1T.LE(String 24I, String& 24J) at SoftwareFX.ChartFX.Internet.Server.1T.LG(String 24L) at SoftwareFX.ChartFX.Internet.Server.1T.LF(String 24K) at SoftwareFX.ChartFX.Internet.Server.1T..ctor(String sName) at SoftwareFX.ChartFX.Internet.Server.ChartCore.set_Palette(String value)

 

Here is the line that it chokes on:

Chart1.Palette = Server.MapPath("~/Images/ChartFX/user.resources") + "|user.pal|Tango";

 

and here is the user.pal file :

 

; Default Palette 49 Colors

255,255,255

; yellow

237,211,0

; orange

245,120,0

; brown

193,125,16

; green

158,176,40

; blue

51,101,164

; purple

160,98,168

; 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

;

; ------------------------- Start Scheme -------------------------

Tango.

; Series Colors;

1

2

3

4

5

6

22

35

33

38

16

1

31

45

21

40

; Background

249

; Alt Background

253

; 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

; 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

 

Any help would be most appreciated,

Thanks,

Dan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...