private drawAxes()

in src/radarChart.ts [640:666]


    private drawAxes(values: PrimitiveValue[]): void {
        let axisBeginning: number = this.radarChartData.settings.displaySettings.axisBeginning;
        const angle: number = this.angle,
            radius: number = this.radius;

        let selection: d3.Selection<d3.BaseType, RadarChartCircularSegment, any, any> = this.mainGroupElement
            .select(RadarChart.AxisSelector.selectorName)
            .selectAll(RadarChart.AxisNodeSelector.selectorName);

        let axexSelection: d3.Selection<d3.BaseType, PrimitiveValue, any, any> = selection.data(values);

        axexSelection
            .exit()
            .remove();

        axexSelection = axexSelection
            .enter()
            .append("svg:line")
            .classed(RadarChart.AxisNodeSelector.className, true)
            .merge(axexSelection)
            .attr("x1", 0)
            .attr("y1", 0)
            .attr("x2", (d: PrimitiveValue, i: number) => radius * Math.sin(i * angle))
            .attr("y2", (d: PrimitiveValue, i: number) => axisBeginning * radius * Math.cos(i * angle));

        this.changeAxesLineColorInHighMode([axexSelection]);
    }