Skip to content

Custom marker shapes #330

Closed
Closed
@tbreloff

Description

@tbreloff

I would like the ability to create custom marker shapes dynamically (i.e. I don't know the shape beforehand). I don't want the "shapes" that are defined in the layout... I want to take advantage of the mechanisms of traces (scatter markers).

I thought it would be as easy as adding to or overwriting an entry here: https://github.com/plotly/plotly.js/blob/master/src/components/drawing/symbol_defs.js. However, I can't figure out how to access this object from client javascript.

If this is currently possible to do (a hack is fine) please let me know and maybe supply a simple example. If it's not possible, can you give me options of how this can be implemented? Thanks.

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