Home Forums Chart Support Image labels on X – axis

Image labels on X – axis

Viewing 7 posts - 1 through 7 (of 7 total)
  • #5563


    I’m wondering if there is possibility of adding images as labels on X-axis instead of text, for example:

    dataPoints: [
    { x: 10, y: 71, label: IMAGEURL },


    As of now Images are not supported inside labels.


    Thank you for your answer !


    Thank you for this beautiful Api, i want to know if it’s possible now to add images to labes on X axis ? and thanks !

    • This reply was modified 6 years, 11 months ago by jamil bouyahi.


    Sorry, this feature is not available as of now.

    Suyash Singh
    Team CanvasJS


    OK .
    Thank you for your reply.



    Positioning image in place of axis labels is not available as an inbuilt feature as of now. However, you can workaround by writing few lines of code using labelFormatter and convertValueToPixel. Please take a look at this JSFiddle for workaround solution to place an image on axis labels.

    Position Images over X-Axis Labels

    Sanjoy Debnath
    Team CanvasJS

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

You must be logged in to reply to this topic.