By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,282 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

can i draw graph in xul?

P: 18
can i draw a graph ,such as y=sin(x) in xul ??
can i get some codes about it ?
for example:Adding menus and submenus
Expand|Select|Wrap|Line Numbers
  1. <toolbox>
  2.   <menubar id="xulschoolhello-menubar">
  3.     <menu id="xulschoolhello-greeting-menu" label="&xulschoolhello.greeting.label;">
  4.       <menupopup>
  5.         <menuitem label="&xulschoolhello.greet.short.label;"
  6.           oncommand="XULSchoolChrome.GreetingDialog.greetingShort(event);" />
  7.         <menuitem label="&xulschoolhello.greet.medium.label;"
  8.           oncommand="XULSchoolChrome.GreetingDialog.greetingMedium(event);" />
  9.         <menuitem label="&xulschoolhello.greet.long.label;"
  10.           oncommand="XULSchoolChrome.GreetingDialog.greetingLong(event);" />
  11.         <menuseparator />
  12.         <menuitem label="&xulschoolhello.greet.custom.label;"
  13.           oncommand="XULSchoolChrome.GreetingDialog.greetingCustom(event);" />
  14.       </menupopup>
  15.     </menu>
  16.   </menubar>
  17. </toolbox> 
  18.  
Oct 5 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.