Focal Point
[CLOSED] Hyperlink on X-Axis Label

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9147033876

September 10, 2015, 03:46 PM
cldiaz
[CLOSED] Hyperlink on X-Axis Label
Is there a way to include a hyperlink on the X-axis label? I am able to get the hyperlinks working based on the bar itself but the user wants to be able to click the x-axis label instead of the bar to get to the detail.

I've searched through the documentation and forum and can't find anything that helps give me an idea. I did find this old forum post, Hyperlink on axis label, but this indicates there may not be a way to do this. I'm hoping that might have changed or there are other ideas.

Thanks in advance for any ideas!

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


WebFOCUS 8204
Windows, All Outputs
September 14, 2015, 01:32 PM
MartinY
This works for a URL :

GRAPH FILE CAR
SUM SALES
BY COUNTRY
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 750
ON GRAPH SET VAXIS 550
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setURL (getO1Label(), "http://www.google.com");
ENDSTYLE
END



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
September 14, 2015, 05:57 PM
cldiaz
Thanks Martin!
That worked to get to the URL, I'm playing around with this to try and make this applicable to drill down and pass parameters to another fex.


WebFOCUS 8204
Windows, All Outputs
September 15, 2015, 12:20 PM
cldiaz
Update:
I put in a case with tech support to see if I could get drill-downs on the x-axis and it seems like it will be available in 8.2

Here is their response:

We do not yet have the ability to add hyperlinks or drilldowns to the data labels themselves on the x or y axis. However, I am happy to inform you that this is a new feature that will be included with the release of WebFOCUS 8.2.00.


WebFOCUS 8204
Windows, All Outputs