plotly / plotly/Plotly.NET

Add more axis initialization templates

Open
#89 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: MissingAbstraction Type: Enhancement
Dominant language
F#
Stars
860
Forks
99
Avg merge
22m
Merged PRs (30d)
1

Description

There are the following types of linear axes in plotly:

  • Auto(determines the best fit from below)
  • Linear
  • Log
  • Date
  • Category
  • MultiCategory

A few init functions specifically setting mandatory properties for these axis types (e.g. category order for categorical axes) would be very beneficial.

So the functions would look like this:

static member initCategorical
	(
		CategoryOrder: StyleParam.CategoryOrder,
		// all other optional properties of linear axes
	) : Axis.LinearAxis = ...

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the existing axis types and initialization functions in Plotly.NET, especially Axis.LinearAxis and the StyleParam.CategoryOrder usage mentioned in the issue. Review how optional linear-axis properties are represented, then add initialization templates for the listed axis types with their mandatory properties and verify each template against the existing axis API.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.