Vue Radar: Component to generate Radar Diagrams #.\n\nV-Radar.\nVue Radar belongs, with it you can make radar diagramms. It allows you to utilize your own studies, different colors and additional to construct a details radar diagramm.\n\nInstance.\nTo start dealing with the Vue Radar utilize the following demand to install it.\nVia npm:.\nnpm install vue-radar.\nVia yarn:.\nanecdote add vue-radar.\nImport it where you require it and don't overlook to include it to your components object.\nbring Radar coming from 'vue-radar'.\nUsage:.\nrecords () {-String.Split- -\nprofits {-String.Split- -\nradar: \nsize: '500',\/\/ pixel device.\nviewbox: '800',\/\/ device utilized inside the svg (here 400px = 1000 unit\u00e9s).\nspan: '300',\/\/ very same unit than above (diam\u00e8tre = 900), keep the distance < (viewbox\/ 2).\nstructure: \nexterior: \/\/ external movement of the construct's polygon.\nstrokeColor: 'rgba( 0, 0, 0, 1)',\/\/ different colors (any type of css format is actually usable (hexa, rgb, rgba ...)).\nstrokeWidth: '9'\/\/ pixel unit.\n,.\ninternals: \/\/ internals stroke of the framework's polygon (one every 10%).\nstrokeColor: '# 76B4FF',\/\/ different colors (any sort of css style is functional (hexa, rgb, rgba ...)).\nstrokeWidth: '5'\/\/ pixel device.\n,.\naverage: \/\/ ordinary polygon (placed at 50%).\nstrokeColor: 'rgba( 0, 0, 0, 1)',\/\/ movement different colors (any css format is actually usable (hexa, rgb, rgba ...)).\nstrokeWidth: '2',\/\/ pixel unit.\nfillColor: 'rgba( 0, 0, 0,.5)'\/\/ polygon shade (any css style is functional (hexa, rgb, rgba ...)).\n\n,.\nproduct lines: \/\/ product lines coming from facility to peaks.\nstrokeColor: 'rgba( 0, 0, 0,.3)',\/\/ different colors (any type of css style is actually functional (hexa, rgb, rgba ...)).\nstrokeWidth: '1'\/\/ pixel unit.\n\n,.\nscale: \/\/ ranges of equivalent statistic.\nintellect: 200,\/\/ key have to be equal to the corresponding fact, lowercased as well as without tones.\ncharisma: 200,.\nagilty: 200,.\ndexterity: 200,.\nstupidness: 200.\n,.\nstats: [\nname: 'Knowledge',\/\/ string.\nworth: 37,\/\/ int.\nshortName: 'Int'\/\/ The 2 very first characters are actually used to become screen next to their equivalent peaks.\n,.\n\ntitle: 'Charisma',.\nvalue: 77,.\nshortName: 'Ch'.\n,.\n\ntitle: 'Agilty',.\nvalue: 187,.\nshortName: 'Ag'.\n,.\n\ntitle: 'Dexterity',.\nmarket value: 99,.\nshortName: 'De'.\n,.\n\ntitle: 'Stupidness',.\nvalue: 144,.\nshortName: 'Foolish'.\n\n],.\npolycolor: '
7307D3'// colour (any kind of css layout is actually functional (hexa, rgb, rgba ...)).-|-|-|-random-}-|-|-|-random-},.elements: ' v-radar': Radar.Note: It is actually achievable to utilize only the optiions which are required, 3 stats and also the polycolor choice as well as you can have a radar design.After that you can easily use the part anywhere you will just like in the design template:.
That's it! If you want to acquire included with vue-radar-diagram, scalp to the venture's repository on GitHub, where you are going to also discover the resource code.
Articles You Can Be Interested In