alphanodes / additionals

Redmine plugin for easy customization of settings, text and content display by using personal or role-based dashboards (drag&drop), providing wiki macros and act as library for other plugins.
https://www.redmine.org/plugins/additionals
GNU General Public License v2.0
131 stars 43 forks source link

Add chartjs matrix plugins #98

Closed skalimer0 closed 3 years ago

skalimer0 commented 3 years ago

Hello,

Can you add charjs matrix plugin ? like datalabels plugin or colorschemes plugin https://github.com/kurkle/chartjs-chart-matrix

I could be useful to make priority matrix or risks matrix on dashboards.

Thanks

skalimer0 commented 3 years ago

OK, i found https://d3plus.org/examples/d3plus-matrix/getting-started/ on d3plus.

So.... if you want :D

skalimer0 commented 3 years ago

Doh!

d3plus graph don't be render in dashboard's block... nothing appear... no error in javascript console.

With this example https://d3plus.org/examples/d3plus-matrix/getting-started/

i make dashboard block in html.slim file just with add = additionals_load_d3plus

I have Javascript Error : TypeError: "Matrix" is not a constructor

With d3plus library at https://cdn.jsdelivr.net/npm/d3plus@2 : no javascript error.

I have matrix render OK on one html file example, but in dashboard's block, my block is empty.

skalimer0 commented 3 years ago

With a quick test, charjs-chart-matrix, i have a chart on my dashboard's block.

skalimer0 commented 3 years ago

Just to show, matrix in action with blocks

example

alexandermeindl commented 2 years ago

Matrix was added to main branch.