Duplicate HighCharts Duplicate Label

1

How do I duplicate this data inside the circle in red?

yAxis: [{ // Primary yAxis

                    opposite: true,

                    title: {text: metrica, x:35 },
                    labels: {align: 'right', x:35},
                    gridLineColor: '#b1b7b0',
                    gridLineWidth:2

                },
                    { // Secondary yAxis
                        opposite: false,

                        title: {text: metrica, x:-35 },
                        labels: {
                            align: 'left', 
                            x:-35,
                            formatter: function() {
                                return this.data
                            }
                        },
                        gridLineColor: '#000000',
                        gridLineWidth:2


                }]
    
asked by anonymous 06.10.2017 / 13:48

1 answer

1

Just put two yAxis, for example:

yAxis: [{ // Primary yAxis
        min: 10,
        tickInterval: 10,
        labels: {
            format: '{value}',
            style: {
                color: Highcharts.getOptions().colors[1]
            }
        },
        title: {
            text: '',
            style: {
                color: Highcharts.getOptions().colors[1]
            }
        },
    },{ 
            min: 10,
        tickInterval: 10,// Secondary yAxis
        title: {
            text: '',
            style: {
                color: Highcharts.getOptions().colors[1]
            }
        },
        labels: {
            format: '{value}',
            style: {
                color: Highcharts.getOptions().colors[1]
            }
        },
        opposite: true,
    }],

and this says what will be the side:

opposite: true,
    
30.01.2018 / 14:47