Jump to content
Software FX Community

Too big .chw temp file


User (Legacy)

Recommended Posts

I need to display a scatter graphic with a lot of  XY points (2000 i.e.)

In the same graph, I need to overlap 7 line series with few points (10-12

points per series).

But using this techinque, the ChartFx OCX object requires 16000 points and

so it needs to generate a big .chw temp files (> 300 Kbyte),

too big to transfer on extranet/internet.

Is it correct or exist another mode to obtain the same graph ?

My technique is:

Chart.Gallery = SCATTER

Chart.OpenDataEx COD_VALUES, 8, 2000

Chart.OpenDataEx COD_XVALUES, 8, 2000

'Compute all point coordinate (first series)

For j = 0 To 1999

Chart.ValueEx(0,j) = FunY(j)

Chart.XValueEx(0,j) = FunX(j)

Next

'Repeat the following step for each line

....

'Declare line coordinates

Chart.XValueEx(1,0) = 50

Chart.ValueEx(1,0) = 100000

Chart.XValueEx(1,1) = 900

Chart.ValueEx(1,1) = 900000

'Hide not used point

For j = 2 to 2000 - 1

Chart.XValueEx(1,j) = 0

Chart.ValueEx(1,j) = CHART_HIDDEN

Next

...

'Close data

Chart.CloseData COD_VALUES

Chart.CloseData COD_XVALUES

Chart.Series(1).Gallery = LINES

....

Chart.Series(7).Gallery = LINES

Maurizio Romano

Embedded Software Development Engineer

Microsoft Certified Professional

C

Link to comment
Share on other sites

  • 2 weeks later...

I get a good result if I call the extension

chart.AddExtension("SfxCabC.CabCompressor")

before generating graph object on client side

(using <% = chart.GetHtmlTag("700","400", "Activex", "ChartFX1") %>).

The .chw file size is reduced to 25 Kb from its original size (164 Kb) !!!

Is this technique full supported or do exist any side effects?

Is the licence of SfxCabC.CabCompressor Object included in the ChartFX IE

5.5 one ?

Maurizio.

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

news:E$cEL9gdCHA.392@webserver1.softwarefx.com...

> There is no way of having different sizes for each series, so it depends

on

> what you are using these extra series for, maybe, you can do it some other

> way instead of adding this additional series by using annotation objects.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

  • 4 weeks later...

>> Is this technique full supported or do exist any side effects?

The only known side-effect is that compression takes more CPU. The

decompressor will be dowloaded by the client the first time it sees a

compressed chart.

>> Is the licence of SfxCabC.CabCompressor Object included in the ChartFX IE

5.5 one ?

Yes. This compressor is included with ChartFX Internet 5.5 and you can use

it in any server for which you have a ChartFX Internet license.

--

Regards,

JC

Software FX Support

"Maurizio" <maurizio.romano@cezannesw.com> wrote in message

news:n7eANJ$fCHA.2048@webserver1.softwarefx.com...

> I get a good result if I call the extension

> chart.AddExtension("SfxCabC.CabCompressor")

> before generating graph object on client side

> (using <% = chart.GetHtmlTag("700","400", "Activex", "ChartFX1") %>).

>

> The .chw file size is reduced to 25 Kb from its original size (164 Kb) !!!

>

> Is this technique full supported or do exist any side effects?

> Is the licence of SfxCabC.CabCompressor Object included in the ChartFX IE

> 5.5 one ?

>

> Maurizio.

>

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

> news:E$cEL9gdCHA.392@webserver1.softwarefx.com...

> > There is no way of having different sizes for each series, so it depends

> on

> > what you are using these extra series for, maybe, you can do it some

other

> > way instead of adding this additional series by using annotation

objects.

> >

> > --

> > FP

> > Software FX, Inc.

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...