Jump to content
Software FX Community

Once again the color does not look right, I changed server to 16bit


User (Legacy)

Recommended Posts

You are posting a JPG, is ChartFX generating PNG or JPEG images ? Can you

post the code that generated this chart.

--

Regards,

JC

SoftwareFX

"AB" <arden.barsamian@hostedware.com> wrote in message

news:ozrPDe8NBHA.2200@webserver1.softwarefx.com...

> The color still looks pattern like ... 256 color like. I changed the

server

> to 16bit colors.

> I supplied "Image" so it can use the best color.

>

> Any ideas?

>

> Thanks

>

>

>

Link to comment
Share on other sites

I tried png(generates png) and image(that generates jpg) and both appear the

same.

Set Chart1 = Server.CreateObject("ChartFX.WebServer")

' General Settings

Chart1.TypeMask = &H6A90114&

' Axis Settings

Chart1.RGBBk = &H1000000&

Chart1.RGB3DBk = &H1000010&

' Font Settings

Chart1.TopFont.Name = "Arial"

Chart1.TopFont.Weight = 700

Chart1.TopFont.Size = 9

'Chart1.Axis(AXIS_x).LabelAngle = 45

' Font Settings

Chart1.PointLabels = true

Chart1.PointLabelsFont.Name = "arial"

Chart1.PointLabelsFont.Weight = 900

Chart1.PointLabelsFont.Size = 9

'Chart1.PointLabelAlign = LA_CENTER Or LA_BASELINE

'Chart1.PointLabelAngle = 45

Chart1.LegendBoxObj.Docked = TGFP_BOTTOM

Chart1.Axis(AXIS_X).Step = 1

' Color Settings

Chart1.Palette = "Light Pastels"

' Title Settings

Chart1.RGBFont(CHART_TOPFT) = RGB(0,0,0)

Chart1.Title(2) = "Status:" & " " & OptStatusForm

'Chart1.LeftGap = 100

Chart1.DataType(0) = CDT_LABEL

Chart1.DataType(1) = CDT_VALUE

Chart1.AdoResultset rsData

Response.Write "<br>"

Response.Write "<center>"

Response.write Chart1.GetHtmlTag(500,400,"image","Chart1")

Response.Write "</center>"

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:p46k079NBHA.1208@webserver1.softwarefx.com...

> You are posting a JPG, is ChartFX generating PNG or JPEG images ? Can you

> post the code that generated this chart.

>

> --

> Regards,

>

> JC

> SoftwareFX

>

> "AB" <arden.barsamian@hostedware.com> wrote in message

> news:ozrPDe8NBHA.2200@webserver1.softwarefx.com...

> > The color still looks pattern like ... 256 color like. I changed the

> server

> > to 16bit colors.

> > I supplied "Image" so it can use the best color.

> >

> > Any ideas?

> >

> > Thanks

> >

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...