Jump to content
JChartFX Community
  • 0

Changing Series Color via API when using CSS


FP2006

Question

In earlier versions of jChart, we were using the API to set a series color.   This was working so long as the series was not in the CSS file.   In Version 7.4, we are noticing the API is not working at all, and the series are all white after trying to change them with the API.   Can you help us understand what changed, if the API is still supported, or if this is a bug that was already fixed in a later release?

 

Thanks in advance for the help!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

We are not aware of this issue, the code is written so that if you use our CSS then all series in the chart (and most elements in it) will use the CSS and Ignore the visual attributes (color, line width, etc) supplied through the API. We have never had code that can paint some series using CSS and others using the API (at least on purpose)

 

I am not sure what you mean when you say "so long as the series was not in the CSS file".

 

Can you provide a small repro case that exhibits this behavior?

 

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...
×
×
  • Create New...