-
vizulyJuly 30, 2018 at 7:32 am #11350
Hello Chris,
The easiest way to do what you are proposing to modify the source component code for the Halo component, which can be found in the
src/viz/halo.js
file. Make sure to follow the steps in our docs about uncommenting out the debug files so you are referencing the source component from your html page versus a minified version.The function you will want to look at is the
update()
function. This is where all of the geometries are added and manipulated. Themeasure()
function is also something you may want to look at – as it is responsible for setting measurement variables for subsequent layouts.These components are designed so it shouldn’t be too difficult for an experienced Javascript developer familiar with D3 to modify them like you propose.
I hope that helps point you in the right direction.
Cheers,
Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io