danvk / dygraphs

Interactive visualizations of time series using JavaScript and the HTML canvas tag
http://dygraphs.com
Other
3.17k stars 606 forks source link

Support more per-axis options #324

Open danvk opened 9 years ago

danvk commented 9 years ago

Here's a to-do list based on @kberg's spreadsheet:


From danvdk on October 22, 2010 10:32:54

There are very few display options which are supported on a per-axis basis. These would be good ones:

axisLabelColor axisLabelFontSize axisLabelFont axisTickSize axisLineWidth axisLineColor

This will require adding support for per-axis options to Dygraph.attr_.

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

danvk commented 9 years ago

From bloggs...@googlemail.com on March 06, 2012 06:04:44

Also, mixing of log and linear scales on a per-axis basis, e.g.

'Y1': { axis: { logscale: "true"}}, 'Y2': { axis: { logscale: "false"}}

Thanks!

danvk commented 9 years ago

From danvdk on March 24, 2012 20:23:08

Labels: -Type-Defect Type-Enhancement

danvk commented 9 years ago

From danvdk on April 06, 2012 11:46:50

Here are the other properties that would make sense to set on a per-axis basis:

avoidMinZero drawXAxis drawYAxis includeZero logscale digitsAfterDecimal labelsKMB labelsKMG2 maxNumberWidth sigFigs

I'll close this bug when all of the properties can be set per-axis or we've decided to not make them per-axis.

danvk commented 9 years ago

From krystian...@poczta.fm on April 06, 2012 13:42:28

My suggest: decimalSeparator

danvk commented 9 years ago

From konigsb...@gmail.com on November 23, 2012 12:01:01

Issue 400 has been merged into this issue.

danvk commented 9 years ago

From konigsb...@gmail.com on December 04, 2012 03:58:50

Labels: Component-Options

danvk commented 9 years ago

From konigsb...@gmail.com on December 31, 2012 10:31:48

Note https://github.com/danvk/dygraphs/pull/193 does one of these.

danvk commented 9 years ago

From konigsb...@gmail.com on September 13, 2013 13:15:51

I've assembled an analysis of all options, including marking those which should be made to support per-axis or per-series options. https://docs.google.com/spreadsheet/ccc?key=0An7t5-rPAK9ZdFNOdHROTXVNOGpIQm1ZR1hsM0kyX3c#gid=0 Here's how to read the spreadsheet: X : already supported -- do nothing

The plan, then is to turn all the ? and * into -, X and na.

In other words, if it's not on the list, we're not doing it.

danvk commented 9 years ago

From konigsb...@google.com on September 13, 2013 20:05:46

(To be clear, please provide feedback if something looks wrong.)

danvk commented 9 years ago

From advoret...@gmail.com on November 02, 2013 01:12:22

Why are you unsure about stackedGraph? How difficult would be implement this property on per-axis base?

danvk commented 9 years ago

From konigsb...@gmail.com on November 02, 2013 06:25:54

advoretsky, the ? means I haven't studied it.

danvk commented 9 years ago

From Oswald...@googlemail.com on August 17, 2014 10:52:34

Is there something new on stackedGraph? Will this be implemented?

danvk commented 9 years ago

From konigsb...@gmail.com on August 17, 2014 12:49:26

No, nothing new. If you would like to give it a shot, please go ahead.

danvk commented 9 years ago

From marek.k...@gmail.com on September 04, 2014 15:47:50

I would like to see errorBars, customBars to be configurable (enabled/disabled) per axis.

losipher commented 9 years ago

The issue of hiding Y axes independently has not been solved. The JSfiddle example for #444 http://jsfiddle.net/eM2Mg/4767/ still shows the Y2 axis.

uriklar commented 8 years ago

+1 for hiding only one y axis

mathisloge commented 7 years ago

is visibility yet implemented?