Jump to content
Software FX Community

Stat Extension - XAxis Values


User (Legacy)

Recommended Posts

How would I define StudyContants and StudyStripes to coencide with Median, 

Upper/Lower Quartile values for the XAxis? I already have those values for

the YAxis, but the client would like intersecting lines/stripes. Also, we'd

like to include these objects within the Study Group. Any help would be

greatly appreciated.

Thanks,

JJN

Link to comment
Share on other sites

  • 2 weeks later...

I'm not sure I understand what you need.

To add the Median study to your chart you can do:

StudyConstant median = (StudyConstant)

statistical.Studies.Add(Anlysis.Median);

median.Visible = true;

You can add other studies or groups of studies to the chart in a similar

fashion, please check the documentation for more details.

--

Francisco Padron

www.chartfx.com

<jnassiff@bellsouth.net> wrote in message

news:85cqM2UyFHA.3776@webserver3.softwarefx.com...

> How would I define StudyContants and StudyStripes to coencide with Median,

> Upper/Lower Quartile values for the XAxis? I already have those values

> for the YAxis, but the client would like intersecting lines/stripes.

> Also, we'd like to include these objects within the Study Group. Any help

> would be greatly appreciated.

>

> Thanks,

> JJN

>

Link to comment
Share on other sites

Yes, the code below will add a median line to represent the Y Axis values. 

I would like to add a second median line for the X Axis values that would

cross the Y Axis median creating a median point. I haven't been able to

create a median line for X Axis values, only the Y Axis values. If this

isn't possible, is there a way to create a StudyConstant line where I assign

my own value? I've tried vairations of using the StudayConstant and

StudyCustom combinations, but when I try to set a Value, I get nothing.

Ideally in the StudyGroup Legend, I'd like to have a Median X checkbox with

a median value, and a Median Y checkbox with a median value that the user

can select.

Regards,

JJN

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

news:gowoYHa0FHA.3776@webserver3.softwarefx.com...

> I'm not sure I understand what you need.

>

> To add the Median study to your chart you can do:

>

> StudyConstant median = (StudyConstant)

> statistical.Studies.Add(Anlysis.Median);

> median.Visible = true;

>

> You can add other studies or groups of studies to the chart in a similar

> fashion, please check the documentation for more details.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

> <jnassiff@bellsouth.net> wrote in message

> news:85cqM2UyFHA.3776@webserver3.softwarefx.com...

>> How would I define StudyContants and StudyStripes to coencide with

>> Median, Upper/Lower Quartile values for the XAxis? I already have those

>> values for the YAxis, but the client would like intersecting

>> lines/stripes. Also, we'd like to include these objects within the Study

>> Group. Any help would be greatly appreciated.

>>

>> Thanks,

>> JJN

>>

>

>

Link to comment
Share on other sites

Ok. I understand what you need now.

We do not have a predefined Study/Analysis that calculates the Media for the

X values, however you can add a Custom Study to represented in the chart.

Here is how you can do it:

StudyConstant study = new StudyConstant(StudyType.Custom,1);

study.Axis = (int) AxisItem.X;

study.Value = 50;

study.Visible = true;

statistics1.Studies.Add(study);

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Thanks!  The code does create the Interactive item within the Legend and 

creates the Constant Line, but it won't let me dynamically change the value.

I've attached a snapshot of our Scatter Plot which dynamically takes an X

and Y axis category, then poplulates the Chart. The StudyConstant.Value

should also be updated according to the data selected. As you can see from

the image, I've created my own checkboxes to mimic this behavior outside the

chart, but we would rather have the checkboxes within the Study Group.

Thanks,

JJN

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

news:SaZocPy0FHA.1724@webserver3.softwarefx.com...

> Ok. I understand what you need now.

>

> We do not have a predefined Study/Analysis that calculates the Media for

> the

> X values, however you can add a Custom Study to represented in the chart.

> Here is how you can do it:

>

> StudyConstant study = new StudyConstant(StudyType.Custom,1);

>

> study.Axis = (int) AxisItem.X;

>

> study.Value = 50;

>

> study.Visible = true;

>

> statistics1.Studies.Add(study);

>

>

> --

> 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...