Skip to content

vline symbols not showing on chart #545

Description

@anani112

I'm currently trying to add a vertical line to my chart using the symbols but I can't see any vertical line on my chart. I tested with horizontal lines and those are working as expected. I'm using release 2.0.28

Config:

var chartOptions = {
            axes: {
                x: { key: 'x', type: 'date', ticksInterval: 60 * 24 },
                y: { type: 'linear' }
            },
            grid: {
                x: false,
                y: true
            },
            symbols: [{
                type: 'vline',
                value: new Date("2017-06-21T04:29:06.000Z"),
                color: '#ed4b3a'
            },
            {
                type: 'hline',
                value: 80000,
                color: '#ed4b3a',
                axis: 'y'
            }],
            series: [
              ...
            ],
            drawDots: false
        };

This is a screenshot of what I'm seeing: you can see the horizontal line but no vertical line (I even edited the CSS to change with size of both lines but only the hline is visible and changes size)

image

Let me know if there is anything I'm doing wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions