Number of quadrants in the Radar pie.
arash-hajikhani opened this issue · 6 comments
Can the data sheet define the number of quadrants? The default is a pie which has four quadrants. Where to modify so the pie happens to be three pieces for example?
Hi @arash-hajikhani! Specifying a different number of quadrants is not currently a feature of BYOR, and we don't plan to make it one, as the intent is for the Radar to have 4 different categories. If you'd like to have less quadrants, you would need to fork the repo and create that for your own local copy, or you can just leave one of the quadrants blank. Let me know if you have further questions.
Thanks @marisahoenig for quick response and clarifications. In the README.md there is such instructions:
To specify custom ring and/or quadrant names, add the following environment variables with the desired values.
export RINGS=['Adopt', 'Trial', 'Assess', 'Hold']
export QUADRANTS=['Techniques', 'Platforms', 'Tools', 'Languages & Frameworks']
I wondered if having three items in the list (removing Tools) for Quadrants eventually led to the pie size?
Hey @arash-hajikhani — there are other places in the code where we explicitly assume there are 4 quadrants. I haven't actually tried it myself, but I would assume if you try to remove a quadrant, you will get an error since we haven't accounted for that use case.
Has anyone tried to modify the quadrants or rings per the instructions? @arash-hajikhani, did it work? I tried to modify the names of the four quadrants (still kept four) via the "export" command in my docker command line AND i updated my csv. It did not work.
I also tried to modify src/graphing/config.js and spec/end_to_end_tests/config.json to update the quadrants and that was not sufficient to rename my quadrants successfully AND render the data points.
Is there a way to confirm that the "export" took and that my UI should be updated? Will a restart preserve the export? What step am I missing?
If what you're trying is to change the quadrants and rings names, this can be set by specifying the following environment variables:
export RINGS=['Adopt', 'Trial', 'Assess', 'Hold']
export QUADRANTS=['Techniques', 'Platforms', 'Tools', 'Languages & Frameworks']
when you start your docker container, and obviously respect these values in your imported document.
Hi, I realized the quadrants are vector-based SVG photos and therefore fixed so it is not possible to regulate the way the circle splits. It is just fixed to four.