XML/SWF Charts| CSS/XML Timeline Eons(New)| Timeline Eons| SlickBoard

 < previousnext > 

 

context_menu

 

<context_menu about='boolean'
              print='boolean'
              full_screen='boolean'
              
              save_as_bmp='boolean'
              save_as_jpeg='boolean'
              save_as_png='boolean'
              />
             


Description

context_menu determines which functions to include in the context menu when the user right-clicks a graph.

The Settings menu item is required by Flash so users can access the settings that affect privacy and storage on their computers. The About Flash menu item is required by Flash to determine the Flash version. This tool has no control over these menu items.

Recent Flash player versions prevent saving features and full screen mode from a context menu. For security reasons, these features now require a direct mouse event (user click) and can only be activated via buttons. See link for details.

Right-click this chart to test the context menu:

 

The context_menu attributes are:

  • about: A boolean that determines whether to include the About XML/SWF Charts function in the context menu or not. Valid values are true or false. The default is true.

  • print: A boolean that determines whether to include the Print Chart function in the context menu or not. This allows printing the chart. Valid values are true or false. The default is true. Effects created with filters are not visible in printed charts.

  • full_screen: A boolean that determines whether to include the Full_Screen function in the context menu or not. This allows viewing a chart in full screen. Valid values are true or false. The default is true. Full_Screen works with one chart at a time. Joined charts can not be viewed together. Turn off Full Screen in joined charts, or use composite charts instead.

  • save_as_bmp: A boolean that determines whether to include the Save as BMP function in the context menu or not. This allows saving the chart as BMP. Valid values are true or false. The default is false.

  • save_as_jpeg: A boolean that determines whether to include the Save as JPEG function in the context menu or not. This allows saving the chart as JPEG. Valid values are true or false. The default is false.

  • save_as_png: A boolean that determines whether to include the Save as PNG function in the context menu or not. This allows saving the chart as PNG. Valid values are true or false. The default is false.

 

Example


<chart>

   <!-- remove the 'Print Chart' menu item -->
   <!-- add the 'Save as JPEG' menu items -->
   <!-- right-click the chart to test it -->
   <context_menu print='false' full_screen='true' save_as_jpeg='true' />   

</chart>

 

 < previousnext > 


Copyright © 2003-2017, maani.us