You must be logged in to post your query.
Home › Forums › Chart Support › Image labels on X – axis
Hello,
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 !
Hello, 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 !
@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.
—- Sanjoy Debnath Team CanvasJS
You must be logged in to reply to this topic. Login/Register