JavaScript Logarithmic Line Chart - Editor

This example showcases creation of logarithmic axes, highlighting the functional differences between linear and logarithmic axes using line series.

Logarithmic Axis can be created by supplying type: 'logarithmic' argument when the Axis is created:

const chart = lightningChart().ChartXY({
    // Specify default Y Axis as logarithmic (10).
    defaultAxisY: {
        type: 'logarithmic',
        base: 10,
    },
})

// Add second Y Axis that is also logarithmic (Math.E).
const axis = chart.addAxisY({
    type: 'logarithmic',
    base: 'e',
})