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     [CLOSED] How To Create Concentric Circle Map

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How To Create Concentric Circle Map
 Login/Join
 
Platinum Member
posted
Is there a way to create a concentric circle map in WebFOCUS?

An example can be found in the sample.

Thanks in advance.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8207.11
App Studio 8207
 
Posts: 146 | Registered: January 06, 2009Report This Post
Virtuoso
posted Hide Post
wfconsultant

You should be able to use the D3 extension to reference a concentric circle map. Search for D3 there are a lot of references of how to use.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Chuck,

Thank you for the suggestion. I could not find any sample in D3. Do you have any links you can suggest?

Thank you


WebFOCUS 8207.11
App Studio 8207
 
Posts: 146 | Registered: January 06, 2009Report This Post
Virtuoso
posted Hide Post
WFConsultant

I googled "d3 concentric circle map" and got a lot of hits.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
It is true that we get lots of hits when googling. However, none of them are relevant.

There is this function, GIS_GEOMETRY, in WebFOCUS that may create geometric area on the map. I am not able to get a sample data to test this function.

I am wondering if anyone has worked with the function (GIS_GEOMETRY).

Please let me know.


WebFOCUS 8207.11
App Studio 8207
 
Posts: 146 | Registered: January 06, 2009Report This Post
Guru
posted Hide Post
You want to have a look at the IbComposer_drawBullseye javascript function.

It is explained in the "Using Javascript for HTML Canvas" section of the App Studio online help

I'll see if I can dig my old examples on how to use

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Member
posted Hide Post
I'm probably over simplifying this but does the Proportional Symbol Chart not give you this if you use the Size, Color and Location attributes? You can change the ring size and color etc in the style sheet but this is the basic effect.

Dropbox_Image

Hope that helps

Andy

WebFOCUS 8.2.06
 
Posts: 5 | Registered: August 10, 2007Report This Post
Platinum Member
posted Hide Post
Thank you StuBouyer and Andy Kirby. Both the ideas look good.

@StuBouyer - The JS function, IbComposer_drawBullseye, is the best solution. In the function, we can set the center latitude/longitude, set radius of multiple circles and colors for each circle. Somehow, it is not rendering for me. I am still working on it.

@Andy Kirby - If the above solution doesn't work then I guess this may be a workaround. This require creating dummy data. For ex, if I want 3 circles, then the data would have 3 records with same latitude/longitude and different measures values. If I put the measure field in the Color bucket then the concentric circles will render. I'll have to see if it is possible to control the size of the circles.

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


WebFOCUS 8207.11
App Studio 8207
 
Posts: 146 | Registered: January 06, 2009Report This Post
Guru
posted Hide Post
Make sure you have the GoogleMaps API Key installed on the client, I believe it in Admin console somewhere.


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Expert
posted Hide Post
I think that I speak for all of us here. We'd love to see the end result with some sample data.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
The function, IbComposer_drawBullseye, only works on the Google maps (No ESRI or Leeflet)
It works only in App Studio (No InfoAssist)

Fex (geo_con_circles.fex):
-------------------------
This fex is not mandatory for the concentric circles. This put customers on the map.

SET ASNAMES = ON

TABLE FILE WF_RETAIL
SUM
ID_CUSTOMER
COMPUTE MARKER/A10 = 'blueicon';
BY ID_CUSTOMER
BY ADDRESS_LATITUDE AS LATITUDE
BY ADDRESS_LONGITUDE AS LONGITUDE
WHERE CITY_NAME EQ 'Dallas'
WHERE STATE_PROV_NAME EQ 'Texas'
WHERE BUSINESS_REGION EQ 'North America'
ON TABLE PCHOLD FORMAT XML
END

HTML(geo_con_circles.htm):
-------------------------
Created a Request, geo_con_circles, to read the above fex.
Put Map control on the canvas.
In the map control settings, did the following.
Center Location: Dynamic
Location Type: Latitude/Longitude
Request: geo_con_circles
Visible: Checked
Image/Tooltip: Tooltip
Source Type: Constant Value.

Put a button on the canvas.

In the button click event added the following JavaScript code.

IbComposer_drawBullseye('mapcontrol5',37.0625,-95.677068,'true','mi',3,'20,30,40','Green,Orange,Red');

The values, 37.0625,-95.677068, are the latitude and longitude of the city of Dallas.

When the HTML ran, the map puts all the customers on the map.

When button is clicked the concentric circles rendered on the top of the map.

Output from the above code

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


WebFOCUS 8207.11
App Studio 8207
 
Posts: 146 | Registered: January 06, 2009Report 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     [CLOSED] How To Create Concentric Circle Map

Copyright © 1996-2020 Information Builders