Forums

Posting in these forums is disabled. These forums will be available for archive purposes. Please join the new forums at the links below:

  • yui-support - replaces the `YUI 3.x` and `YUI 3 Gallery` forums.
    We have created the following discussion categories within this group to aid discoverability for these most-used topics:
    • Charts for YUI Charts support.
    • DataTable for YUI DataTable support.
    • Gallery for YUI Gallery support, including support for published Gallery components as well as the Gallery process in general.
    • Tools for support of YUI’s suite of developer tools such as selleck, shifter, grover, yogi, etc.
    • Everything Else for questions that don’t fit one of the categories above, we’ve got you covered here.
  • yui-deprecated - replaces the `YUI 2.x` forum and the forums of other deprecated products (`YUI Doc`, `Builder`, `YUI PHP Loader`, etc.).
  [ 3 posts ]
New Topic | Post Reply | Print view
Previous topic | Next topic

Anitha M

  • Username: Anicomsolu
  • Joined: Sat Nov 19, 2011 4:16 am
  • Posts: 5
  • Offline
  • Profile

Trouble changing marker color in line chart

Post Posted: Sun Nov 20, 2011 9:35 pm
+0-
Hi,
I have changed the marker color in linechart, but am not able to change. I am using the below code:

var seriesDef = [
{"type":"combo",
"yKey":"CLOSETOTAL",
"yDisplayName":"CLOSETOTAL",
"xAxis":"x",
"line": {
"color": "#426ab3"
},
"marker":
{ "fill": {
"color": "#426ab3"
},
"border": { "color": "#000000"}}, "yAxis":"y1", "xDisplayName":"DAY"}
];

and tried some other code also. Can you please suggest me some ideas. Need any js to add?


Thanks in advance.

Tripp Bridges

YUI Developer

  • Username: tripp
  • Joined: Wed Jan 07, 2009 1:54 pm
  • Posts: 464
  • GitHub: tripp
  • Gists: tripp
  • YUI Developer
  • Offline
  • Profile

Re: Trouble changing marker color in line chart

Post Posted: Mon Nov 21, 2011 10:14 am
+0-
Your posted code is correct. Please post back with the full code or a link and I'll be happy to help find the issue.

Thanks,
Tripp

Tripp Bridges

YUI Developer

  • Username: tripp
  • Joined: Wed Jan 07, 2009 1:54 pm
  • Posts: 464
  • GitHub: tripp
  • Gists: tripp
  • YUI Developer
  • Offline
  • Profile

Re: Trouble changing marker color in line chart

Post Posted: Mon Nov 21, 2011 10:24 am
+0-
To be clear, your code will should give the markers a black border but the fill is blue. (that is what has been specified) For a black fill, you'd need
Code:
fill: {
    color: "#000000"
}


Thanks,
Tripp
  [ 3 posts ]
New Topic | Post Reply | Print view
Previous topic | Next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum