multiseries chart response property

Use this board to ask questions or have discussions with other Rich Displays users.
Wendy
Profound User
Posts: 37
Joined: Mon Aug 06, 2018 4:00 pm
First Name: Wendy
Last Name: Sauers
Company Name: Conestoga Wood Specialties
Phone: 5706589663
Address 1: 441 West Market St.
City: Beavertown
State / Province: Pennsylvania
Zip / Postal Code: 17812
Country: United States
Contact:

multiseries chart response property

Post by Wendy »

I've done some searching on the chart response property, but I haven't come across anything that says that it will NOT work on a multi-series chart. But in fact, when I click on a bar in my mscolumn2d type chart, nothing happens. Control never passes back to my program.

Does anyone know that this is the way it is meant to work? Or can you tell me how I can pass the x-axis value back to the program on a multi-series chart?

Hopefully I'm just missing something very simple.

Thank you,
Wendy
Wendy
Profound User
Posts: 37
Joined: Mon Aug 06, 2018 4:00 pm
First Name: Wendy
Last Name: Sauers
Company Name: Conestoga Wood Specialties
Phone: 5706589663
Address 1: 441 West Market St.
City: Beavertown
State / Province: Pennsylvania
Zip / Postal Code: 17812
Country: United States
Contact:

Re: multiseries chart response property

Post by Wendy »

I believe the answer just came to me...

Because I'm using json to build the multi-series chart, the x-axis is just a bunch of labels. The screen format has no actual value for the axis'. Therefore the chart response property can't work.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: multiseries chart response property

Post by Scott Klement »

Hi Wendy,

To the best of my knowledge, chart response should work with a chart that you built with JSON. You can see the underying code here:
https://github.com/ProfoundLogic/profou ... s/chart.js

Look under pui.widgets.addJSONChartLinks and pui.widgets["doChartLink"] and you can see how it executes the chart response when you pass your chart as a json document.

That said, I haven't tried it myself.
Wendy
Profound User
Posts: 37
Joined: Mon Aug 06, 2018 4:00 pm
First Name: Wendy
Last Name: Sauers
Company Name: Conestoga Wood Specialties
Phone: 5706589663
Address 1: 441 West Market St.
City: Beavertown
State / Province: Pennsylvania
Zip / Postal Code: 17812
Country: United States
Contact:

Re: multiseries chart response property

Post by Wendy »

Oh very good! I'll study up, and give it a try.

Thank you!
Wendy
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: multiseries chart response property

Post by pjshuey »

Scott,

I am working on a multi-series chart now (mscombidy2d) and cannot get the chart response to work....it always returns to the program with a blank value. I don't think the issue is that the chart is built with json, I think it is an issue with it being a multi-series chart. Do you have any examples of this scenario working?

Thanks for your help!
Patti
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: multiseries chart response property

Post by Scott Klement »

I don't have a prebuilt example, sorry.

If you post something I can load/run on my system, I'll play around and see if I can get it working.
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: multiseries chart response property

Post by pjshuey »

Scott,

I attached the screen json. Would you like the rpg too? I'm not sure how to get you that.
Attachments
MultiSeries.json
(74.93 KiB) Downloaded 116 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: multiseries chart response property

Post by Scott Klement »

Can you run the application, bring up the screen (make sure there's nothing private or confidential -- remember these are public forums, everyone in the world can see them) and press Ctrl-F9? You'll get a file named json.txt that you can attach to a forum message.

This will create a dump that combines your screen format with the data sent from your program. This would be much easier for me than trying to recreate your RPG program.
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: multiseries chart response property

Post by pjshuey »

Because of the data on this screen and the time it would take me to create "fake" data, could I email the file directly to you rather than post it publicly?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: multiseries chart response property

Post by Scott Klement »

Sure, you can send it to support@profoundlogic.com
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests