Focal Point
[CLOSED] Any way to show/Hide graph series lines similar to Google Maps layers?

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

November 18, 2011, 02:30 PM
Norb Eckert
[CLOSED] Any way to show/Hide graph series lines similar to Google Maps layers?
I have a line graph with 4 series on it and would like to be able to hide or display any or all series on the graph allowing the user to focus on particular information. Within a Google Map you can hide or display layers of markers so users can view what's underneath. This is especially useful if there is a big cluster of markers.

Can anyone think of a way that we might do this with a WebFOCUS graph?

Thanks,

Norb

This message has been edited. Last edited by: Norb Eckert,


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 20, 2011, 11:36 AM
<MLerner>
Norb,
I sent this question over to our Visualization PM. What I can tell you for sure is that you can do this in Active Reports. Active Reports let's you hide any of the series in use via the Chart Tool. Perhaps we can integrate this into our core charts as we will be rolling out a whole new JavaScript based charting engine starting in WF 8/7704 server with a lot more to come throughout 2012.

Regards,
Matthew
November 20, 2011, 04:11 PM
Waz
Perhaps you could wrap the graph in some HTML that will rerun the graph with the unwanted columns noprinted ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 21, 2011, 03:58 PM
Norb Eckert
Hi Waz,

Your suggestion is probably the route I will have to take. Didn't really want to rerun the query though.

Thanks,

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 21, 2011, 04:07 PM
Waz
If you use the applet, I wonder if you can manipulate the parameters, and actively hide the series ?

Pure Speculation....


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 21, 2011, 04:08 PM
Norb Eckert
Hi Matt,

How's things?! I took a look at the active report and I can't even get the graph to look like I want it to. Consequently I can't even consider hiding any series so I'll probably consider a javascript approach. I'm sure I'm just not skilled enough with the Active Reports.

Matt, I'm curious what IB's plans are for Flex now that Adobe has thrown it under the bus. First the dumped mobile Flash and then shortly afterward nixed Flex. Are you guys gonna hit HTML5 hard for animating objects similar to Flex? And what happens to Enable? I realize that a new version of Flex is being released but if you read Adobe's press release - it's game over! What do you think?

Thanks,

Norb

This message has been edited. Last edited by: Norb Eckert,


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 21, 2011, 04:18 PM
Norb Eckert
Waz - applet? "What you talking about Willis?"

Sorry, that's a reference to an old, and not very good, American television show.


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 21, 2011, 04:22 PM
Waz
We all use the same strokes here...

If I can find the time, I might check this out and see if its plausable.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 21, 2011, 05:28 PM
Norb Eckert
Clever Waz!!! Good One

I'm curious to see what you come up with - if you have time, of course. This is a nice to have type of thing.

See ya,

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 24, 2011, 10:05 PM
Waz
Well its not looking good the the idea I had.

The charting applet is well locked down, and very few methods are exposed.

I'll keep looking, but don't expect anything soon.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 30, 2011, 12:25 PM
Norb Eckert
Hi Waz,

I looked into filtering the output via a WHERE statement and the results are generated quickly enough that I will use HTML checkboxes to do the "show/hide" stuff.

Thanks for your help,

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 30, 2011, 01:05 PM
<JG>
quote:
Perhaps we can integrate this into our core charts as we will be rolling out a whole new JavaScript based charting engine starting in WF 8/7704 server with a lot more to come throughout 2012.


Does this mean that the current Java TDG graphics are being depreciated?
November 30, 2011, 01:45 PM
Norb Eckert
JG,

Now I'm also wondering if there will be an API available or will all graph creation need to be done via the GUI or Charting tool? I don't know about you but I tend to cut and paste a lot of graph API calls/code rather than using the GUI tools. And as a matter of fact, the Advanced Graph GUI tool won't even in our current configuration (thus I'm awaiting a clean install to ver 7.7.03) so I'm forced to code.


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 30, 2011, 03:10 PM
<JG>
I certainly have to create a lot of strange graphs.

The Advanced graph assistant is much better than the old tool but you still have to do a lot by hand, If you need something different (or what the customer wants).

Case in point, I have just created a chart that has 51 annotations (needed to insert a data grid).

Tool no way, max 4 annotaions.

When, If we get the docs then we'll know.
December 02, 2011, 11:49 AM
<MLerner>
At this point in time we are not deprecating the Java TDG graphics. If a decision is made to do so we will provide an announcement as well as a migration path.

Regards,
Matthew