Skip to content

Minimal file and 'options.path'  #30

@lindenb

Description

@lindenb

Hi all,
I'm playing with your API. It looks great! ( I'm a poor JS/D3JS dev by the way)

I'm currently trying to create a minimal standalone HTML file with an inline json data : https://gist.github.com/lindenb/cb99b6bff37752c1ca91e5709fcc538a

It's seems that some columns are repeated (lunch, snack) and I don't know why. how can I fix this ?

image

I tried to add path in the options

		minEventPerColThreshold:1,
		path:["Jeudi","Breakfast", "Lunch", "Snack", "Dinner"],
		levels:["very_high","high","X"]

but i then get a JS error:

Uncaught TypeError: lastcol is undefined
    last_cleanup https://visdunneright.github.io/sequence_braiding/js/SequenceBraiding.js:141
    SequenceBraiding https://visdunneright.github.io/sequence_braiding/js/SequenceBraiding.js:39
    <anonymous> file:///home/lindenb/braining.html:98
SequenceBraiding.js:141:3
    last_cleanup https://visdunneright.github.io/sequence_braiding/js/SequenceBraiding.js:141
    SequenceBraiding https://visdunneright.github.io/sequence_braiding/js/SequenceBraiding.js:39
    <anonymous> file:///home/lindenb/braining.html:98

How can I fix this please,

many thanks in advance

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