Jump to content
Software FX Community

Calculate Statistics


User (Legacy)

Recommended Posts

I have one series of data in the chart, and I am displaying the Mean 

Min,Max, Sigma values and variance and all of those calculated fields show

up with values. But if I have a Cp or Cpk value there is no value calculated

unless I set the HTMLTag to Image. Also I notice that my USL, and LSL are

not scaled properly on the chart when I have the HTMTag to .NET.

Ron Geiger

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

news:TmM$bnPcFHA.200@webserver3.softwarefx.com...

> How many series does your chart has ? If it has more than one, the data

> (different for each series) will be displayed when you hover over a

> series.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Oh, I see,

What's happening is that your Ucl and Lcl limits are not being saved in the

server and sent to the client, this looks like a bug and I will look into

it.

A workaround:

Right before rendering the chart (after all data is passed) do:

statistics.Freeze= true;

This should force the calculated values to be saved.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

I am passing data to the chart control throught the following process.

'build the data arraylist and pass to the chart

Dim HistArray As New ArrayList

Dim lstProvider As New SoftwareFX.ChartFX.Data.ListProvider(HistArray)

HistChart.DataType.Item(0) = SoftwareFX.ChartFX.DataType.Value

lstProvider.List.Add(tmpThknsArr)

I tried to use what you suggested and when I do I get the following error on

the chart control. I put the statistics.frezze right after I populated the

chart control with data.

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an

object.

at SoftwareFX.ChartFX.Internet.Client.ChartCore.75(Boolean 1K3,

IPersistBase K4, Boolean 1K5)

at SoftwareFX.ChartFX.Internet.Client.Chart.OnDownload(DownloadEventArgs

args)

If you have any other suggestions please let me know.

Ron

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

news:XZY4xKbcFHA.3436@webserver3.softwarefx.com...

> Oh, I see,

>

> What's happening is that your Ucl and Lcl limits are not being saved in

> the server and sent to the client, this looks like a bug and I will look

> into it.

>

> A workaround:

>

> Right before rendering the chart (after all data is passed) do:

>

> statistics.Freeze= true;

>

> This should force the calculated values to be saved.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...