Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python and js development: support anim options #52

Closed
rakshasha-medhi opened this issue Feb 3, 2023 · 3 comments
Closed

python and js development: support anim options #52

rakshasha-medhi opened this issue Feb 3, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@rakshasha-medhi
Copy link

I'm trying to redo this example from ipyvizzu and get it working in ipyvizzu-story:
https://ipyvizzu.vizzuhq.com/examples/stories/musicformats/musicformats.html

I'm interested with this model because it looks to be the most complex out of all the examples available in vizzuhq website.

However in the first block of code, I encountered error:
NotImplementedError: Anim options are not supported.

the error came from these lines of code which I modify in order to make it work with ipyvizzu-story:

for year in range(1973, 2021):
    config["title"] = f"Music Revenue by Format - Year by Year {year}"
    slide1 = Slide(Step(
        Data.filter(f"parseInt(record.Year) == {year}"),
        Config(config),
        # duration=0.2,
        # x={"easing": "linear", "delay": 0},
        # y={"delay": 0},
        # show={"delay": 0},
        # hide={"delay": 0},
        # title={"duration": 0, "delay": 0},
    )
    )

    story.add_slide(slide1)

story.add_slide(slide1)
story.export_to_html('musicformats.html')

Those I comment-out were the lines that causing the error.
Without them I was able to export to html.

So is it possible to remake all the examples from ipyvizzu in ipyvizzu-story?
Or are there limitations in ipyvizzu-story library in terms of features compared to the ipyvizzu?

@veghdev
Copy link
Member

veghdev commented Feb 3, 2023

Hi, anim options are currently not supported in ipyvizzu-story. We are working on it and probably publish the solution in one of the next releases.

@veghdev veghdev added enhancement New feature or request question Further information is requested labels Feb 4, 2023
@veghdev veghdev changed the title does every model example in ipyvizzu will work as well in ipyvizzu-story? question: does every model example in ipyvizzu will work as well in ipyvizzu-story? Feb 4, 2023
@veghdev veghdev removed the question Further information is requested label Mar 28, 2023
@veghdev veghdev changed the title question: does every model example in ipyvizzu will work as well in ipyvizzu-story? python, js development: support anim options and keyframes Mar 28, 2023
@veghdev
Copy link
Member

veghdev commented Mar 28, 2023

Implement after: vizzuhq/vizzu-story-js#25

@veghdev veghdev changed the title python, js development: support anim options and keyframes python and js development: support anim options and keyframes Mar 28, 2023
@veghdev veghdev changed the title python and js development: support anim options and keyframes python and js development: support anim options May 10, 2023
@veghdev veghdev closed this as completed May 10, 2023
@veghdev
Copy link
Member

veghdev commented May 10, 2023

@rakshasha-medhi Hi, Anim options support will be in version 0.7.0 just in a few days.

@veghdev veghdev moved this from Done to Released-0.7.x in ipyvizzu-story: js development May 11, 2023
@veghdev veghdev moved this from Done to Released-0.7.x in ipyvizzu-story: python development May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants