Jump to content
JChartFX Community
  • 0

Label Shadow, WaterMarks Color


glpunk
 Share

Question

Hi, I sucessfully personalice a Pie Chart with JS code, but I have two thinks to do and didn't found how. 

 

1. Put a shadow to Text Labels.

2. Change The color to the watermark (is on a dark color and gray don't look well) .

 

I'm not using CSS, just JS.

 

Thanks in advance

 

post-2107-1393974350008_thumb.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

You can add shadows to all texts in the chart by using the following code

    chart1.setTextShadowColor("#000000");

    chart1.setTextShadowOffset("0,-1");

The shadow offset has X and Y components. Note that these shadows are painted in all texs (axis labels, point labels, titles, etc.). There is no way to add shadows individually.

About changing the color of the watermark, currently this is not supported. Can you post a sample of your chart (or email to support at softwarefx dot com) so that we can check if it is being painted with an incorrect color?

JuanC 

Link to comment
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.

Guest
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.

Loading...
 Share

×
×
  • Create New...