I understand that configuring the lineWidth of a material design also means that line hover width has to be taken into account, but instead of having both the line width and line hover width set to a fixed amount, couldn't you just have the line hover width be proportionate to the line width. For example, if the line width is 5 than the line hover width can be set to 200% times thicker, making the line hover width 10. Since the google charts works in javascript and the options are a json object just have the default value set to whatever line width is multiplied by 2. That way the material design doesn't lose it's look. You can have the line hover width locked so that users can't make the chart look bad, but with that formula users can change the width of the lines in the material design. I hope this idea is helpful to the developers.Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/3c121002-c8ac-4f73-a7dd-22d1dd7816a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Daniel,It is a good idea to use some kind of relative sizing for hovering options, rather than using absolute values. But since the hover highlighting is intended mostly just to highlight the hovered value, it would probably make more sense to merely add a small amount (say 2) to the drawing lineWidth, rather than multiplying.
On Mon, Aug 6, 2018 at 2:08 PM Daniel Ajisafe <ajide...@gmail.com> wrote:
I understand that configuring the lineWidth of a material design also means that line hover width has to be taken into account, but instead of having both the line width and line hover width set to a fixed amount, couldn't you just have the line hover width be proportionate to the line width. For example, if the line width is 5 than the line hover width can be set to 200% times thicker, making the line hover width 10. Since the google charts works in javascript and the options are a json object just have the default value set to whatever line width is multiplied by 2. That way the material design doesn't lose it's look. You can have the line hover width locked so that users can't make the chart look bad, but with that formula users can change the width of the lines in the material design. I hope this idea is helpful to the developers.--Thank you for your time.
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/3c121002-c8ac-4f73-a7dd-22d1dd7816a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--