Vue Radar: Component to produce Radar Diagrams #.\n\nV-Radar.\nVue Radar belongs, from it you can easily create radar diagramms. It enables you to utilize your personal data, colors and additional to build a details radar diagramm.\n\nExample.\nTo begin working with the Vue Radar make use of the adhering to command to mount it.\nVia npm:.\nnpm mount vue-radar.\nVia anecdote:.\nyarn incorporate vue-radar.\nImport it where you require it and don't overlook to incorporate it to your parts protest.\nimport Radar from 'vue-radar'.\nConsumption:.\ndata () {-String.Split- -\ncome back {-String.Split- -\nradar: \nsize: 'five hundred',\/\/ pixel system.\nviewbox: '800',\/\/ system utilized inside the svg (listed below 400px = 1000 unit\u00e9s).\nradius: '300',\/\/ exact same device than above (diam\u00e8tre = 900), keep the span < (viewbox\/ 2).\nframework: \noutside: \/\/ external movement of the structure's polygon.\nstrokeColor: 'rgba( 0, 0, 0, 1)',\/\/ different colors (any kind of css style is functional (hexa, rgb, rgba ...)).\nstrokeWidth: '9'\/\/ pixel system.\n,.\ninternals: \/\/ internals stroke of the structure's polygon (one every 10%).\nstrokeColor: '# 76B4FF',\/\/ shade (any sort of css layout is actually usable (hexa, rgb, rgba ...)).\nstrokeWidth: '5'\/\/ pixel system.\n,.\naverage: \/\/ typical polygon (placed at 50%).\nstrokeColor: 'rgba( 0, 0, 0, 1)',\/\/ movement color (any css layout is functional (hexa, rgb, rgba ...)).\nstrokeWidth: '2',\/\/ pixel system.\nfillColor: 'rgba( 0, 0, 0,.5)'\/\/ polygon shade (any kind of css layout is actually usable (hexa, rgb, rgba ...)).\n\n,.\nlines: \/\/ collections coming from facility to summits.\nstrokeColor: 'rgba( 0, 0, 0,.3)',\/\/ colour (any type of css layout is useful (hexa, rgb, rgba ...)).\nstrokeWidth: '1'\/\/ pixel device.\n\n,.\nscale: \/\/ ranges of equivalent statistic.\nintelligence: 200,\/\/ vital must amount to the equivalent statistic, lowercased and without accents.\ncharm: 200,.\nagilty: 200,.\nmastery: 200,.\nstupidness: 200.\n,.\nstatistics: [\ntitle: 'Knowledge',\/\/ strand.\nvalue: 37,\/\/ int.\nshortName: 'Int'\/\/ The 2 very first letters are actually made use of to be show next to their equivalent summits.\n,.\n\nlabel: 'Personal appeal',.\nworth: 77,.\nshortName: 'Ch'.\n,.\n\nlabel: 'Agilty',.\nvalue: 187,.\nshortName: 'Ag'.\n,.\n\ntitle: 'Mastery',.\nworth: 99,.\nshortName: 'De'.\n,.\n\nname: 'Stupidness',.\nvalue: 144,.\nshortName: 'Stupid'.\n\n],.\npolycolor: '
7307D3'// color (any kind of css format is actually functional (hexa, rgb, rgba ...)).-|-|-|-random-}-|-|-|-random-},.parts: ' v-radar': Radar.Note: It is actually achievable to use merely the optiions which are actually needed, 3 stats and the polycolor alternative as well as you can possess a radar diagram.After that you can easily use the element anywhere you will just like in the template:.
That's it! If you want to receive involved with vue-radar-diagram, scalp to the job's repository on GitHub, where you will definitely additionally locate the source code.