-
vizulyOctober 10, 2017 at 9:50 am #8066
Hi Michael,
There are a couple of ways you could change the font size. The current one is being dynamically generated based on the width of the tree.
If you prefer to fix the font to a specific size and you are using the Axiis theme you can adjust the following line in the src/theme/weightedtree.js file.
Near the top you will see a line that starts with “var skins = …” locate the Axiis skin (the first one, and near the bottom of that skin definition around line number 40 you would have to change this line (for a 10px high font)
font_size: function () { return fontSize + "px"; }
to
font_size: function () { return "10px" ; }
Also be sure that you are referencing the source files versus the minified files at the top as described in our “Getting Started” article. This will ensure that your HTML page is using the source files you have just modified (versus the compiled minified files that won’t have these changes in them.)
I hope that helps point you in the right direction.
Kind Regards,
Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io