flrs / visavail

A D3.js Time Data Availability Visualization
https://flrs.github.io/visavail/docs/samples/basic.html
MIT License
310 stars 59 forks source link

Chart Data Overlaps with Axis Labels #26

Closed petertkim closed 6 years ago

petertkim commented 6 years ago

Hello All,

I have an issue where the data of the chart overlaps with the axis labels on the left side, because my measure labels (names of smart devices) often end up being quite long. There is also a weird blue background/vertical bar and I cannot figure out where it is coming from.

I appreciate any help! Thanks in advance!

Best,

Peter Kim

visavail_schedule
flrs commented 6 years ago

Hi @petertkim,

You can change the space on the left here: https://github.com/flrs/visavail/blob/99e793767ac12b0491fcf799b8d4ced8b96f7dc0/visavail/js/visavail.js#L13

As to the blue color I do not have an answer. Can you post your code?

Florian

petertkim commented 6 years ago

Thank you Florian!

I realized the blue color was something I set as a < p > style way back when... Silly me to forget.

Thanks so much!

Peter

flrs commented 6 years ago

Great that you figured that blue background thing out! The plot title is set here:

https://github.com/flrs/visavail/blob/99e793767ac12b0491fcf799b8d4ced8b96f7dc0/visavail/js/visavail.js#L460

Florian