Dict Line Marker for Javascript?

Here is an example of a python chart in Plotly that has a marker line as a hover effect.
https://plot.ly/alpha/workspace/?fid=Diksha_Gabha:499

Is there something similar to

marker = dict(
color = ‘FFBAD2’,
line = dict(width = 1)
)

in javascript or JSON to add a line hover effect on a line chart?

Thanks.
Andrew

Can you please share the code snippet for line hover ?

In general, you can figure out what the correct javascript would be by using the {} format rather than dict. For instance:

var marker = 
{
    color: 'FFBAD2',
    line:
    {
        width: 1
    }
};

But without knowing more about your explicit case, can’t be of much help. Could you supply a bit more code?