A quick-start project that shows how to customize the layout, data labels, selection, highlight, and levels of the Vue TreeMap component. It includes a code snippet for displaying the treemap items as levels in a group.
Example: https://ej2.syncfusion.com/vue/demos/#/bootstrap5/treemap/customization.html
Documentation: https://ej2.syncfusion.com/vue/documentation/treemap/levels https://ej2.syncfusion.com/vue/documentation/treemap/leaf-item https://ej2.syncfusion.com/vue/documentation/treemap/selection-and-highlight
Make sure that your machine has the following setup before starting to work on this project.
Visual Studio Code
Node.js
Vue
To run this application, you need to first clone the how-to-customize-the-vue-treemap-component repository and then navigate to its appropriate path where it has been located in your system. To do so, open the command prompt and run the below commands one after the other.
git clone how-to-customize-the-vue-treemap-component treemap
cd treemap
Once done with downloading, next you need to install the necessary packages required to run this application locally. The npm install
command will install all the needed Vue packages into your current project and to do so, run the below command.
npm install
Run npm run dev
command. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.