imaNNeo / imaNNeo/fl_chart

Feature: Axis ticks with titles?

Open
#203 3 comments 12 reactions 0 assignees View on GitHub
enhancement Fundamental
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

Example:
![Screen Shot 2020-02-17 at 2 22 38 PM](https://user-images.githubusercontent.com/1088089/74681408-55370b80-5191-11ea-9231-a235c52248a8.png)

Is there a recommended way to create "Ticks" along each axis? If not, this would be very helpful for scenarios where you do not want a full grid displayed. The implementation could "mirror" `FlGridData`:

```dart
tickData: const FlTickData(
horizontalInterval: 50,
verticalInterval: 50,
drawVerticalTick: true,
verticalTickLength: 4,
drawHorizontalTick: true,
horizontalTickLength: 4,
...other styling or widget builder override
show: true,
),
```

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing FlGridData behavior and the example image to understand the requested axis ticks without a full grid. Define the tick configuration and styling behavior described in the issue, then verify that ticks can be shown independently on each axis with the requested intervals and lengths.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.