Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Tree Map chart migration from D3 to amchart library 

There were some technical issues in rendering Tree Map with d3 chart library. Namely the chart became unresponsive in case of large data and there were issues with its handling of legends. While migrating tree map to amchart library the overall functionality was maintained.  

 

After migrating tree map to amchart a property has been added to this chart to change the layout of the chart based on the following layout algorithms. 

  • Square (default layout) - It divides an area into rectangles whose area is sized based on a set of values, the rectangles being optimized to be as square as possible. 

  • Horizontal - This layout algorithm divides the space between items, slicing it in the horizontal direction depending on item value. 

  • Vertical - This layout algorithm divides the space between items, slicing it in the vertical direction depending on item value. 

  • Horizontal then Vertical - This layout algorithm divides the space between items, slicing it in horizontal then vertical direction depending on item value. This layout is evident when dimension is dropped on both color and detail shelves. Each data point inside the color block is sliced horizontally and each color block is sliced vertically.

  • No labels