// Create the chart
Highcharts.chart(‘container’, {
chart: {
type: ‘column’
},
colors:[“#2B516E”,”#518AB5″,”#75B9ED”,”#9FD6FF”,”#BEE3FF”],
title:””,
accessibility: {
announceNewData: {
enabled: true
}
},
xAxis: {
type: ‘category’
},
yAxis: {
title: {
text: ‘Patrimonio’
}

},
legend: {
enabled: false
},
plotOptions: {
series: {
borderWidth: 10,
dataLabels: {
enabled: true,
format: ‘${point.y:.2f}’
}
}
},

tooltip: {
headerFormat: ‘{series.name}
‘,
pointFormat: ‘{point.name}: {point.y:.2f}% of total

},

series: [
{
name: “Patrimonio”,
colorByPoint: true,
tooltip: {
valueDecimals: 2
},
data: [
{
name: “2017”,
y: 308,
drilldown: “2017”
},
{
name: “2018”,
y: 325,
drilldown: “2018”
},
{
name: “2019”,
y: 325.48,
drilldown: “2019”
},
{
name: “2020”,
y: 327,
drilldown: “2020”
},
{
name: “2021”,
y: 324,
drilldown: “2021”
},
{
name: “jun-21”,
y: 340,
drilldown: “jun-21”
},
{
name: “jun-22”,
y: 339,
drilldown: “jun-22”
},

]
}
],

});

Leer más

// Create the chart
Highcharts.chart(‘container’, {
chart: {
type: ‘column’
},
colors:[“#BEE3FF”,”#9FD6FF”,”#75B9ED”,”#518AB5″,”#2B516E”],
title:””,
accessibility: {
announceNewData: {
enabled: true
}
},
xAxis: {
type: ‘category’
},
yAxis: {
title: {
text: ‘Reservas por siniestros’
}

},
legend: {
enabled: false
},
plotOptions: {
series: {
borderWidth: 10,
dataLabels: {
enabled: true,
format: ‘${point.y:.1f}’
}
}
},

tooltip: {
headerFormat: ‘{series.name}
‘,
pointFormat: ‘{point.name}: {point.y:.2f}% of total

},

series: [
{
name: “Reservas por siniestros”,
colorByPoint: true,
data: [
{
name: “2017”,
y: 93,
drilldown: “2017”
},
{
name: “2018”,
y: 94,
drilldown: “2018”
},
{
name: “2019”,
y: 101,
drilldown: “2019”
},
{
name: “2020”,
y: 130,
drilldown: “2020”
},
{
name: “2021”,
y: 139,
drilldown: “2021”
},
{
name: “jun-2021”,
y: 139.9,
drilldown: “jun-2021”
},
{
name: “jun-2022”,
y: 140.3,
drilldown: “jun-2022”
},

]
}
],

});

Leer más

// Create the chart
Highcharts.chart(‘container’, {
chart: {
type: ‘column’
},
colors:[“#2B516E”,”#518AB5″,”#75B9ED”,”#9FD6FF”,”#BEE3FF”],
title:””,
accessibility: {
announceNewData: {
enabled: true
}
},
xAxis: {
type: ‘category’
},
yAxis: {
title: {
text: ‘Reservas técnicas’
}

},
legend: {
enabled: false
},
plotOptions: {
series: {
borderWidth: 10,
dataLabels: {
enabled: true,
format: ‘${point.y:.1f}’
}
}
},

tooltip: {
headerFormat: ‘{series.name}
‘,
pointFormat: ‘{point.name}: {point.y:.2f}% of total

},

series: [
{
name: “Reservas técnicas”,
colorByPoint: true,
data: [
{
name: “2017”,
y: 215,
drilldown: “2017”
},
{
name: “2018”,
y: 223,
drilldown: “2018”
},
{
name: “2019”,
y: 222.0,
drilldown: “2019”
},
{
name: “2020”,
y: 221,
drilldown: “2020”
},
{
name: “2021”,
y: 227,
drilldown: “2021”
},
{
name: “jun-2021”,
y: 229.2,
drilldown: “jun-2021”
},
{
name: “jun-2022”,
y: 229.0,
drilldown: “jun-2022”
},

]
}
],

});

Leer más