Skip to content

"Non-shared" axes #218

Discussion options

You must be logged in to vote

Try reducing the DataPadding and making the X axis invisible:

Series = new ISeries[]
{
    new StepLineSeries<int>
    {
        // disable the data padding on the Y axis
        // https://github.com/beto-rodriguez/LiveCharts2/blob/master/docs/components/1.8.series.md#datapadding
        DataPadding = new LvcPoint(0.5f, 0),
        Values = values
    }
};

X = new Axis[]
{
    new Axis
    {
        IsVisible = false
    }
};

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by CodeWithMichal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants