Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] How To Create Concentric Circle Map
Go
New
Search
Notify
Tools
Reply
  
[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 8206.10
App Studio 8206
 
Posts: 150 | Registered: January 06, 2009Reply With QuoteReport 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: 1723 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport 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 8206.10
App Studio 8206
 
Posts: 150 | Registered: January 06, 2009Reply With QuoteReport 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: 1723 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport 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 8206.10
App Studio 8206
 
Posts: 150 | Registered: January 06, 2009Reply With QuoteReport This Post
Platinum Member
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: 243 | Location: Melbourne, Australia | Registered: February 07, 2007Reply With QuoteReport 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, 2007Reply With QuoteReport 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 8206.10
App Studio 8206
 
Posts: 150 | Registered: January 06, 2009Reply With QuoteReport This Post
Platinum Member
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: 246 | Location: Houston,TX | Registered: June 11, 2004Reply With QuoteReport 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: 3050 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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 8206.10
App Studio 8206
 
Posts: 150 | Registered: January 06, 2009Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] How To Create Concentric Circle Map

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.