Skip to content

Add Axis to Line Graph #35

@GeorgeBerdovskiy

Description

@GeorgeBerdovskiy

Background

Due to PR #34, PureChart finally supports line graphs! However, they are too simple to be used practically. Since points and lines are now being rendered, the next step is to draw labeled x- and y-axes.

Goal

Add axes to the line graph using the image below for guidance. The method you'll be working on is line_graph in lib/purechart/chart_helper.rb.

image

You may use either HTML/CSS or SVG code to accomplish this. Make sure to check the way axes are rendered for lollipop charts before getting started - it may help. Good luck!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClaimedSomeone has claimed this issue ✋IntermediateFor more experienced programmers 😎StandaloneDoesn't depend on other issues 💪

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions