Home forums Using CanvasJS fontSize in other unit?

Tagged: 

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18322

    intijk
    Member

    Is it possible to use fontSize in title as unit of ‘vw’?

    Other than compute the fontsize by my self, is there an option to support this?

    #18343

    Indranil Deo
    Member

    @intijk,

    As of now, title font-size is accepted in pixels only. However, the title font-size is calculated based on the width of the chart.

    __________
    Indranil Deo,
    Team CanvasJS

    #18347

    intijk
    Member

    I recommend to consider this , because I’ve noticed that when I switch between 4k and 2k monitor, the good looking is broken, use javascript to support this is also very inconvenient, so I really hope this could be supported natively in canvasjs.

    #18351

    Indranil Deo
    Member

    @intijk,

    Thanks for the suggestion. We will consider this behavior in future versions.

    ___________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.