Skip to content

Problem with scaling Y axis #179

@NataliaKrzykala

Description

@NataliaKrzykala

Hello,
I'm using YCharts for simple project containing a chart for temperature measurements depending on the date they were taken. I have a problem with scaling Y axis according to dynamically changing dataset. For example:

  • when I set min and max values for Y (fe. 33 and 43) and try to scale my dataset to it, the smallest and the bigest value in the dataset still end up at 33 and 43. I was wondering if it is possible to plot a chart not adjusted to the dataset min max values (or if I'm doing something wrong). Example of a problem:
    image

  • when I do not set strict min and max values for Y (but get them from dataset) and set a strict numer of steps I end up whith multiple labels repeated (data seems to be scaled properly and every value is where it's supposted to be). I was wondering if there's a way to ommit displaying repeated labels. Example of a problem:
    image

Additionaly, why does the lowest horizontal grid line stop at the last value and other don't?

I also have a problem with first X label being cut off but I saw someone else mention it in an issue and for all I know it hasn't been solved yet, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions