JSFiddle - React, Tailwind, and code Playground
by Sergey Kalashnikov
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 400px; max-width: 600px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
chart: {
polar: true,
type: 'area'
},
title: {
text: 'Мероприятие',
},
pane: {
size: '80%'
},
xAxis: {
categories: ['Фин. расходы', 'Орг.-кадровые расходы', 'Сроки реализации', 'Объем вводимого жилья, кв.м'],
tickmarkPlacement: 'on',
lineWidth: 0
},
yAxis: {
gridLineInterpolation: 'polygon',
lineWidth: 0,
min: 0
},
tooltip: {
shared: true,
pointFormat: '<span style="color:{series.color}">{series.name}: <b>{point.y:,.0f} ед.</b><br/>'
},
legend: {
// align: 'right',
// verticalAlign: 'top',
y: 90,
layout: 'vertical'
},
series: [{
name: 'Мероприятие 1',
data: [43000, 19000, 60000, 35000],
pointPlacement: 'on',
},
{
name: 'Мероприятие 2',
data: [43000, 29000, 60000, 45000],
pointPlacement: 'on',
},
{
name: 'Мероприятие 2',
data: [43000, 19000, 80000, 50000],
pointPlacement: 'on',
},
{
name: 'Мероприятие 2',
data: [50000, 19000, 60000, 65000],
pointPlacement: 'on',
},
{
name: 'Мероприятие 2',
data: [43000, 19000, 60000, 65000],
pointPlacement: 'on',
}]
});
});