Home › forums › Using CanvasJS › Alter lineThickness on mouseover?
Tagged: lineThickness, mouseover
This topic contains 2 replies, has 2 voices, and was last updated by jerrygarciuh 7 months, 3 weeks ago.
With a data.mouseover defined like so the initial console log correctly gives the initial lineThickness value and then subsequent mouseovers give the value I set but lineThickness is not altered in chart.
Would I have to re-render to see it?
e.chart.axisX.lineThickness = 5;
After changing the value, you’ll need to re-render the chart to observe the changes. You can also use set method to change different properties of the chart. Please, take a look at this jsFiddle.
Thank you so much!
You must be logged in to reply to this topic.