Jump to content
JChartFX Community
  • 0

Background Image and Transparency


Dear  friends,

   First all, my apologies for my poor english. I'm new here and i'm using a scatter plot. I got it to make it work, but now, i need to put a background image and set the transparecy in this chart. I saw there are two ways for this (Stylesheets and JavaScript). I prefer to use javascript to make this job, but the most that can is put a background image.

  In jChartFX API Documentation, there is a property ImageBackground that can be used for this, but i can't to understand. There is a example for this ?



Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

To set an image for the background of a chart:

var imageBack = new cfx.ImageBackground('images/image.png,640,400');

Please make sure to include jchartfx.advanced.js as a reference in your html.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...