I have a Visual Discovery dashboard that I'm enhancing with JavaScript to launch WebFOCUS reports using the data selected by the user on the individual Visual Discovery objects as parameters to the reports.
I've got the report launching and parameters being passed, but now I have an issue with the length of all the amper variables being too long.
The real problem is that the JavaScript command that returns a list of selected bars in a bar chart, returns all the values, even if the user did not select any bars. This causes the parameter list for the FEX to be much larger than it has to be.
The JavaScript command that I'm currently using to grab any selected values is:
var strValues = objVz.FindSelectedValues(20);
I'm wondering if anyone has any experience using JavaScript on a web page to interact with the Visual Discovery components, and if so, does anyone know the JavaScript code to determine if the user selected any bars/lines on a chart?
The Advizor docs that install with the Advizor Authoring Toolkit have properties and methods information for the Advizor components, but I can't seem to hit on the right property to tell me if the user selected a subset of the total bars for a bar chart for example.
I'll keep experimenting with interrogating the properties to see if one of these has the magic value.
Local: AppStudio 8.2.03 - Win7 - Tomcat Server: WebFOCUS 8.2.03 - Windows 2008 R2 Enterprise on VMWare 2 CPU, 3.2GHz, 4GB of RAM Output Formats: HTML, Excel, PDF, PPT, Active Reports