danvk / danvk/dygraphs

Never show ticks at finer granularity than the data

Open
#369 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2–5 stars bug imported Version-2
Dominant language
JavaScript
Stars
3.2k
Forks
589
PR merge metrics
No merged PRs in 30d

Description

From danvdk on August 21, 2012 03:47:44

If your data is per-minute, it never makes sense to show ticks at a higher granularity (say every thirty seconds) since that could mislead the chart's reader into thinking that the data is finer than it is.

Original issue: http://code.google.com/p/dygraphs/issues/detail?id=368

Contributor guide

Open the contributing guide

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 tracing dygraphs' time-axis tick generation and how it determines the data's granularity. Reproduce the per-minute case described in the issue, then verify that generated ticks never imply finer precision than the input data; the issue does not name a file or test to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
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.