3 Replies - 608 Views - Last Post: 11 July 2015 - 06:15 AM

#1 torres-andy   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 1
  • Joined: 21-June 15

Changing ShieldUI jQuery chart point color

Posted 10 July 2015 - 06:03 AM

I am working with the
ShieldUI jQuery 
chart plugin and need to change the color of a specific point in the series either at the data level or dynamically. I searched in the documentation and the examples sections but could not find anything.
Any tips and suggestions would be greatly appreciated.
Is This A Good Question/Topic? 1
  • +

Replies To: Changing ShieldUI jQuery chart point color

#2 ArtificialSoldier   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3134
  • View blog
  • Posts: 8,931
  • Joined: 15-January 14

Re: Changing ShieldUI jQuery chart point color

Posted 10 July 2015 - 08:32 AM

What exactly are you asking for? I'm not familiar with that plugin so I couldn't say whether or not it supports what you want to do without needing to change the code. It would be nice to assume the documentation is complete, although if you go through the code itself then you can work out which features it supports. I suppose you would want to look for the part where it creates the points to see how it does it, and whether the color is hard-coded or if it comes from an option.
Was This Post Helpful? 0
  • +
  • -

#3 al-bergson   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 24-June 15

Re: Changing ShieldUI jQuery chart point color

Posted 11 July 2015 - 05:22 AM

To handle the required functionality, you can set the color directly and map the color to the setting you specified, along with the y-axis value.

One such implementation is demonstrated in the example below:

Example
Was This Post Helpful? 0
  • +
  • -

#4 andrewsw   User is offline

  • no more Mr Potato Head
  • member icon

Reputation: 6957
  • View blog
  • Posts: 28,696
  • Joined: 12-December 12

Re: Changing ShieldUI jQuery chart point color

Posted 11 July 2015 - 06:15 AM

Question moved to jQuery sub-forum.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1