Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150350 | Jan 3,2020 12:56 AM UTC | Feb 3,2020 10:14 AM UTC | Flutter | 2 |
![]() |
Tags: SfCartesianChart |
Hi, I'm working with SplineAreaSeries, my primary XAxis is a DateTimeAxis type, I'm working with the format of hours and minutes. Exists a property for setting the maximum number of data displayed in X axis? But with the possibility of seeing the rest of the data using panning in the chart.
For example, If I have values between 7:00 - 9:00, And I want to set just for display the information between 7:00 - 8:00, but with the possibility of access the rest data (8:00 - 9:00) with panning.
I explored the properties of primaryXAxis, but the property 'maximum' doesn't make this feature that I want.
Regards.
SfCartesianChart(
primaryXAxis: DateTimeAxis(
visibleMinimum: chartData[chartData.length-29].x,
visibleMaximum: chartData[chartData.length-1].x
),
zoomPanBehavior: ZoomPanBehavior(
enablePanning: true,
),
//Other configurations
), |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.