These are chat archives for oxyplot/oxyplot

7th
Oct 2015
anirbandebroy
@anirbandebroy
Oct 07 2015 06:33
hi can i create hour intervel time in X axis?
        this.MyModel = new PlotModel { Title = "Example 1" };
        MyModel.Subtitle = "Click to change the IsVisible property for LineSeries 2";
        MyModel.Title = "LineSeries with IsVisible = false";
        var dateTimeAxis1 = new DateTimeAxis();
        dateTimeAxis1.StringFormat = "HH";
        dateTimeAxis1.MinorIntervalType = DateTimeIntervalType.Hours;
        dateTimeAxis1.IntervalType = DateTimeIntervalType.Hours;
        dateTimeAxis1.IntervalLength = 90;
        MyModel.Axes.Add(dateTimeAxis1);
anirbandebroy
@anirbandebroy
Oct 07 2015 06:46
another question how can i take only hours in DateTimeAxis.Everytime i have to add a date on the datapoint on that? without date i want to work with hours only how can it be posssible?