imaNNeo / imaNNeo/fl_chart

How do I set default values for horizontal and vertical coordinates

Open
#1,198 3 comments 0 reactions 0 assignees View on GitHub
Lack of Information Needs Reproducible Code
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

which version of the Flutter are you using?
Flutter (Channel beta, 3.3.0-0.5.pre
which version of the FlChart are you using?
fl_chart: ^0.55.1
** Don't make a duplicate issue.
You can search in issues to make sure there isn't any already opened issue with your concern.

**Is your feature request relasted to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
When the coordinate has only one value (' December 2012 ', 0), neither horizontal nor vertical coordinate has any value displayed. I want to set some default values at this time, such as (0, 1, 2, 3, 4, 5). How to set it? thank you
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
![image](https://user-images.githubusercontent.com/25734405/209941696-8d1c3cc1-3ae5-4317-890e-52887915ec29.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the single-value coordinate case with Flutter 3.3.0-0.5.pre and fl_chart 0.55.1, using the supplied screenshot and issue description as the expected scenario. Read the chart coordinate and axis-label configuration exposed by the library, then verify that default horizontal and vertical values appear without breaking multi-value charts.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.