Re: 4D and Fusion Charts

2017-09-12 Thread Jeremy French via 4D_Tech
Have you looked at these items in the Web Area documentation?

1) Configuring the Web area
2) Using the $4d object

See Accessing 4D Methods at
http://doc.4d.com/4Dv16/4D/16.2/Programmed-management-of-Web-Areas.300-3434143.en.html#3190797



> On Sep 12, 2017, at 2:53 PM, John S. Poteat via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> What I would like to have happen now is if I click on an element in the Chart 
> (Ex: Bar or Pie Piece)
> to make a call back to 4D and have my selection of records change to show the 
> records that 
> correspond to the Chart element that was clicked on.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D and Fusion Charts

2017-09-12 Thread Tom DeMeo via 4D_Tech
Hi John,


Fusion charts will allow you to set an on click event handler in javascript. 
You need that function to be part of the page you are loading in the web area. 
You probably can look at one of your Wakanda examples to see how that event 
handler is written. Inside that function, you can make a call back to 4D, using 
the $4d object. For a detailed explanation, take a look at the following 
documentation:


http://doc.4d.com/4Dv16/4D/16.2/Programmed-management-of-Web-Areas.300-3434143.en.html
 



About half way down that page is a good description of how to access 4D methods 
and write your function. 

Look for “Accessing 4D methods” and “Using the $4d object”


___


Tom DeMeo





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D and Fusion Charts

2017-09-12 Thread John S. Poteat via 4D_Tech
Hi Everyone, 

I am working with Fusion Charts inside of a 4D Application and I have it 
working as expected
but there is one feature I am not able to get working get and I thought I would 
post it here in
case someone in the group has it working.

I have a dialog that contains a ListBox and WebArea. Inside of the ListBox are 
the selection
of records that makes up the data being graph in the WebArea using Fusion 
Charts.

What I would like to have happen now is if I click on an element in the Chart 
(Ex: Bar or Pie Piece)
to make a call back to 4D and have my selection of records change to show the 
records that 
correspond to the Chart element that was clicked on.

I have seen this work with Fusion Charts inside of Wakanda but I would like to 
get this working
inside of 4D.

If anyone has done something like this in 4D, I would love to hear how you did 
it. I am currently
using 4D v16R2 under Windows 10.

Thanks in advance for your help and I look forward to any responses in regards 
on my question.

Thanks,
John Poteat
jpote...@gmail.com 



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**