jqplot changes the color of graph on mouse hover

前端 未结 1 1878
终归单人心
终归单人心 2021-02-20 07:47

jqPlot changes the color of the fill when mouse hovers... I want to remove that effect.. How ??

Here are the options used:

var opt         


        
1条回答
  •  误落风尘
    2021-02-20 08:18

    There was a change in jqueryplot version 0.9.7-546 and later that added a few new properties for series:

    seriesDefaults: {
        rendererOptions: {
            highlightMouseOver: true,
            highlightMouseDown: false,
            highlightColor: null,
        },
    },
    

    If you set highlightMouseOver to false, this goes away.

    More details are available in the source code for the line renderer

    0 讨论(0)
提交回复
热议问题