items

[ root » graph » options » contextMenu » items]

Mobile Charts Plugin users only: Use the items object to remove and/or style the menu items in the mobile context menu. Refer to the Mobile Charts Tutorial for more information.


          
options: {
  contextMenu: { //Mobile Context Menu
    items: {
      image: true, //Save Image
      share: true, //Share Image
      lock: true, //Lock/Unlock Scrolling
      share: {
        email: true,
        facebook: true,
        twitter: true,
        linkedin: true
      },
      fontColor: 'white'
    }
  },
  ...
}
        

AttributeTypeInfo

font-color fontColor

Mixed

To specify the font color of the context menu items.

'gray' | '##666699'

image

Boolean

To display or remove the Save Image context menu item.

true | false

lock

Boolean

To display or remove the Lock/Unlock Scrolling context menu item.

true | false

share

Boolean

To display or remove the Share Image context menu item.

true | false

share

Object

Use the object to display or remove individual Share Image context menu items: email, facebook, twitter, and linkedin.

{...}