#echartsXBLock --by wwj718[email protected]
This package provides an XBlock to use echarts in edX platform
echart demo : http://echarts.baidu.com/doc/example.html
#Installation
- sudo su edxapp -s /bin/bash
- cd ~
- source edxapp_env
- pip install -e git+https://github.com/wwj718/echartsXBLock
- in /edx/app/edxapp/cms.envs.json add
"ALLOW_ALL_ADVANCED_COMPONENTS": true,
to to the list of FEATURES
#Course Authoring in edX Studio
-
Change Advanced Settings
- Open a course you are authoring and select "Settings" โ "Advanced Settings
- Navigate to the section titled "Advanced Module List"
- Add "echart" to module list
-
Create an echart XBlock
- Return to the Course Outline
- Create a Section, Sub-section and Unit, if you haven't already
- In the "Add New Component" interface, you should now see an "Advanced" button
- Click "Advanced" and choose "echart"