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

Use gradients or images instead of colors in charts

3 Answers 114 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Dustin
Top achievements
Rank 1
Dustin asked on 02 Oct 2013, 08:55 PM
I'm looking for a way to replace the backgrounds in a bullet chart with gradients or images such as in the attachment.

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 03 Oct 2013, 05:59 AM
Hello Dustin,

I already answered to the same question in your other thread, however I am pasting my reply here too:

I am afraid the illustrated outcome is not supported by Kendo UI Chart, however you could try the built-in"glass" gradient:

Copy Code
$("#chart-mmHg").kendoChart({
  //....
  series: [{
    //....
    overlay: {
        gradient: "glass"
    }
  }]
});

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Matthias
Top achievements
Rank 1
answered on 07 Oct 2013, 01:13 PM
I'm not seeing this work for Bubble charts:

opt.series = [{ type: 'bubble', yField: 'price', xField: 'time', sizeField: 'size', categoryField: 'id', overlay: { gradient:'glass'} }];
0
Iliana Dyankova
Telerik team
answered on 08 Oct 2013, 08:36 AM
Hi Matthias,

By design there are no gradients for Kendo UI Bubble Chart, however you could submit this idea as a feature request at our UserVoice page - this way the community would be able to evaluate it and if the suggestion gains popularity we will consider its implementation for future releases. 

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Dustin
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Matthias
Top achievements
Rank 1
Share this question
or