Home forums Using CanvasJS CanvasJs.addTheme doesn't work

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  lkleincapcod 3 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15014

    lkleincapcod
    Member

    HI,

    I want to create my own theme so i follow you doc and when i want to add theme with this command
    <CanvasJS.addTheme(‘ThemeName’,theme);>, I have the following error “CanvasJS.addTheme is not a function “.

    Thank you for you answer

    #15016

    Suyash Singh
    Moderator

    @lkleincapcod,

    Sorry we don’t have custom theme support, as of now. But you can define colorSet to define custom colors.

    ___
    Suyash Singh
    Team CanvasJS

    #15017

    lkleincapcod
    Member

    in fact i found this on git so i tought custom theme is available?

    https://github.com/Pnoexz/CanvasJS-themes/blob/master/README.md

    #15020

    Suyash Singh
    Moderator

    @lkleincapcod,

    The Github repository you have found is modification of CanvasJS v1.5.6 GA by a 3rd party.

    Adding custom theme support is in our roadmap, but no timeline has been fixed for it, as of now.
    ___
    Suyash Singh
    Team CanvasJS

    #15021

    lkleincapcod
    Member

    ok thanks!
    i hope the timeline will be fixe soon.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.