Adding trendlines to bar and XY charts

Open
#478 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

No files, tests, or entry points are named. Start by reviewing the chart APIs for bar, XY, and line charts, then clarify how a trendline should be configured and rendered; done means users can add trendlines to the requested chart types with documented behavior.

Written by the indexing model from the issue text.

Description

Feature Request

Hello,

Thanks for the great library, it's very useful!

One thing I've been scratching around for, but haven't seemed to find, is the ability to add a trendline through the graph that you render. Is this something you'd plan to add in? I'd find it very useful for showing trends on both line and bar charts.

Dominant language
Java
Stars
1.6k
Forks
400
Avg merge
3d 9h
Merged PRs (30d)
7

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from knowm/XChart

All issues in knowm/XChart

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.