You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added two extra procedures near the top of the axisProto.setupGroups-function:
determine the maximum depth (number of levels) [iterative function getDepth]
add extra (empty) hierarchical array(s) of category-objects/strings to have equal depths for all axis categories [iterative function addEmptyCat]
This would e.g. change the Fruit subcategory "Banana" into {name: "Banana", categories:[{categories:[""]}]} and likewise for the other categories.
"Apple" should be next to "Banana" (on the same level)
http://jsfiddle.net/dk44kv7z/
The text was updated successfully, but these errors were encountered: