This is a migrated thread and some comments may be shown as answers.

Scatter chart with different point colors

8 Answers 340 Views
Charts
This is a migrated thread and some comments may be shown as answers.
DMC Helpdesk
Top achievements
Rank 1
DMC Helpdesk asked on 24 Apr 2012, 03:46 PM
Hi,

I am specifying the series for my remote data source using the following format:

series: [{
                           xField: "X",
                          yField: "Y"
}]

Now I want to specify scatter point colors in the series.I want something similar to the following:

series: [{
                           xField: "X",
                          yField: "Y",
                          colorField: "Color"
}]

my Json data would be like:

[{Label:"India",X:120,X:102,Color:"red"},{Label:"China",X:160,X:118,Color:"green"},{Label:"USA",X:1000,X:137,Color:"blue"},{Label:"Russia",X:170,X:125,Color:"yellow"}]


Thanks

Madani

8 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 25 Apr 2012, 12:57 PM
Hello DMC,

Thank you for contacting us.

We have no color field for the scatter chart but we will consider adding it.

Greetings,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
DMC Helpdesk
Top achievements
Rank 1
answered on 25 Apr 2012, 02:22 PM
Thanks.I would also vote for different scatter point shapes (e.g. circle, triangle,square).It will be nice to have built in shapes or image based shapes as well.

Thanks

Madani
0
Chris
Top achievements
Rank 1
answered on 27 Oct 2012, 04:32 PM
Will this be added in the new release ?

I have a chart and on each point, I wish to specify a colour for the marker.

I am using the chart to display results, so dreen for a win, red for a loss, etc.

Thank You.
0
Hristo Germanov
Telerik team
answered on 31 Oct 2012, 08:12 AM
Hi,

I am glad to inform you that with the official release of Kendo UI we will add color field for the scatter chart.

All the best,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Paul
Top achievements
Rank 1
answered on 22 Mar 2013, 07:35 PM
I just download the latest release of DataViz in hopes that the colorField would be supported in the 2013 Q1 release.  Apparently, adding support for the series data colorField property was not supported in the initial or subsequent release for scatterLine chart types.  Please update this thread so others are not misled.
0
Hristo Germanov
Telerik team
answered on 25 Mar 2013, 08:44 AM
Hello Paul,

Can you please examine this simple jsbin and tell me if I am missing something?

All the best,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Paul
Top achievements
Rank 1
answered on 25 Mar 2013, 01:30 PM
It seems that the colorField property is only associated with the data points marker color.  I need to be able to set the line properties that connect between the markers for individual data points.  I.E. markers are turned off.  Is there a way to adjust any of the line attributes used to connect scatterline data points?
0
Hristo Germanov
Telerik team
answered on 26 Mar 2013, 08:13 AM
Hello Paul,

Currently there is no such functionality available. I would suggest to submit your request in Kendo's UserVoice so other members of the community can evaluate, comment on and vote for it.

Regards,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
DMC Helpdesk
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
DMC Helpdesk
Top achievements
Rank 1
Chris
Top achievements
Rank 1
Paul
Top achievements
Rank 1
Share this question
or