Jump to content
Software FX Community

Tab Order on Bar Charts


kelvin

Recommended Posts

Posted

Is there a way to control the Tab Order on Bar Charts (PNG)?

Right now, when I generate a chart the tab order starts on the right hand side of the chart and ends with the left-most bar.

Thanks in advance!

  • 1 month later...
Posted

No quite what I meant; if I'm not mistaken, ChartFX generates a single PNG or JPEG image as the chart and uses maps/hotspots to control the clickable points. It's these clickable points that have the wrong tab order.

 Please help?

Thanks!

  • 2 weeks later...
Posted

Maybe the attached screenshot will help us get on the same page.

The Setup:

1. This is a bar chart.

2. The output is PNG.

3. Each bar on the chart is linked to a subsequent page.

4. Linking is handled by a map generated by Chart FX 6.2.

The Problem:

1. The first time I hit the TAB key on my keyboard on the chart, the first item tabbed to is the bar on the far right (MATLS).

2. Each subsequent TAB "advances" the selection one bar to the LEFT.

I've just discovered what has to be a contributing factor... the <MAP> generated by Chart FX 6.2 lists each bar in the REVERSE order that they were added to the chart. I've attached that excerpt from the page and map also.

Please help... Thanks!

Posted

This order can not be modified. The tab order in the imagemap is the order of the elements in the image map. The order of the elements has to be the reverse of the painting order so that overlapping areas will link to the correct element (when you click on overlapping areas, the first one in the map will take precedence).

The only solution I can think of here is to write a JavaScript that executes on Form Load and changes the tabindex of each AREA element inside the MAP element (DOM).

I am not sure whether or not tabindex in the AREA element will be honored by the browser.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...