public
Description: A SproutCore framework that will allow you to use PlotKit
Home | Edit | New

Home

Welcome to the sproutcore-plotkit wiki! The sproutcore-plotkit project adds Javascript charts to SproutCore by integrating it with the PlotKit library. In order to use PlotKit with SproutCore, you must do the following:

  • Setup up your SproutCore build tools.
  • Download MochiKit (a dependency of PlotKit) and copy the .js files to /public/javascript/mochikit/ under your project directory
  • Download PlotKit and copy the .js files to /public/javascript/plotkit/ under your project directory
  • Download sproutcore-plotkit and copy it into your project directory root
  • Modify your sc-config.rb file as follows:
    • Add :plotkit to the c[:required] list
    • Uncomment c[:javascript_libs] and add the follow items:
      • ‘/javascript/mochikit/MochiKit.js’
      • ‘/javascript/plotkit/Base.js’
      • ‘/javascript/plotkit/Layout.js’
      • ‘/javascript/plotkit/Canvas.js’
      • ‘/javascript/plotkit/SweetCanvas.js’
  • Now you can check out the sample sproutcore-plotkit client at /clients/sc_plotkit_sample/
Last edited by clofresh, Sun Jun 29 18:31:38 -0700 2008
Home | Edit | New
Versions: