Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FLEX - help with combo box and chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] FLEX - help with combo box and chart
 Login/Join
 
Silver Member
posted
Hello,

I am trying to come up with a dahsboard similar to this: : http://demoswf.ibi.com/approot...demo/flexcharts.html. I started by creating a grid and populating it with an embedded xml file. I used the CAR file just for simplicity. So, in my combo box I have COUNTRY, CAR, MODEL, BODYTYPE. And then I created a chart, but I want to change the dataProvider for the chart when the selection for the combo changes. For example, show CAR and Sum.DEALER_COST, COUNTRY and Sum.DEALER_COST, depending on the item selected in the combo box.

I can’t figure out how to make the chart refresh after the selection changes… Any help will be greatly appreciated.

Thanks,
Luminita

This message has been edited. Last edited by: Luminita,


7.6.6 on AIX platform
Output: variety (Excel, HTML and PDF)
 
Posts: 33 | Location: New Hampshire | Registered: October 17, 2007Report This Post
Virtuoso
posted Hide Post
First of all, you don't need to change the dataProvider. (Actually that isn't even possible - one chart has one dataProvider.

Second, that specific demo is a little misleading. There is a LOT of regular Flex Action script in it (as opposed to the WebFOCUS Flex stuff that gets added using the WF components). I would suggest you get the FlexCharts.mxml file that the demo uses in order to see how they are doing this. I can send you a copy of it if you need. Send an email to the address on my profile.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Master
posted Hide Post
If you are using the ibi components then Darin is correct. If you are using the the FLEX Enable API and FLEX components then what you are asking for can be accomplished. For more info on the API look in the WebFOCUS FLEX Enable Manual.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Silver Member
posted Hide Post
Thank you Darin for your help, the sample code was what I needed to make progress.

Regards,
Luminita


7.6.6 on AIX platform
Output: variety (Excel, HTML and PDF)
 
Posts: 33 | Location: New Hampshire | Registered: October 17, 2007Report This Post
Member
posted Hide Post
Hi Luminita,

Can you please sample code that populates values dymanically in Combobox and List Box.
I am not able to get the values in List and Comboboxes. Please help by providing sample code

Thanks


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 2 | Registered: November 24, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FLEX - help with combo box and chart

Copyright © 1996-2020 Information Builders