finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
8.46k stars 1.18k forks source link

Overlapping of chart labels and tick values #1039

Open aniruddhamurali opened 4 years ago

aniruddhamurali commented 4 years ago

Feature Request

Description of Problem:

Sometimes, when displaying the candlestick and OHLC charts, the y-axis tick values and label overlap, making the charts a little hard to read. I found this example in the Conceptual Overview tab on the Perspective docs page:

Screen Shot 2020-05-07 at 9 26 28 PM

Potential Solutions:

Y-axis label should be positioned such that there is consistent space between the y-axis values and the label. Chart may need to be scaled accordingly to make the chart display properly.

texodus commented 4 years ago

Thanks for the PR!

Yeah this is annoying. This also occurs on the X-axis, especially with date or datetime axes when the major ticks are spaced too closely. Should be a pretty easy fix though!

arteevraina commented 4 years ago

@texodus Can I work on this issue?

texodus commented 3 years ago

Not a CSS issue - labels are calculated by D3FC in JavaScript.

You don't need to ask for permission to work on an issue - just go for it.

texodus commented 3 years ago

@rgrupesh Please, this is not Facebook or Blackboard; GitHub Issues are for tracking and note aggregation for specific bugs and features, I've had to delete a few of your comments that are off-topic and obfuscate this important function.

Use Discussions for questions, not Issues.