Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member


Using line markers can be a great way to compare data whether it be over time or across a category. However, creating a marker requires using the Javascript API to hide the line. The steps below outline how to remove the line from a series.


Step 1: Create a line chart, create two measures and set one as a column and the other as a line. Once complete, apply the changes, then reopen the chart editor.
Step 2: Open the widget script editor and add the following script.
widget.on('render', function(sender,se){
                var series00 = sender.queryResult.series[1];
The number in the bracket reflects which measure it is, the first measure is 0, the second is 1, the third is 2, and so on. Specify the proper series. In the case above, the line is the past year profit (series 1)
Step 3: Save the script and refresh the widget!
Version history
Last update:
‎03-02-2023 08:36 AM
Updated by:
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: