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

[Solved] Remove Gradient and format datetime in MVC chart.

3 Answers 133 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sushim
Top achievements
Rank 1
Sushim asked on 09 Mar 2012, 08:09 AM
I have two questions,
1. In asp.net mvc column chart, i would like to remove the gradient which can i have highlighted in the image. I have not been able to remove it. How do I remove the glossy hover.

2. Another question, how do I format a date string in category axis where SEVDateStr is a datetime format and this comes from the database as 2012-03-03, I tried using the labels format but this doesn't work.

.CategoryAxis(axis => axis
                            .Categories(s => s.SEVDateStr)
                //.Labels(labels => labels.Format("{yyyy/mm/dd}"))
                .AxisCrossingValue(0, 100)
            )


Thank You.

3 Answers, 1 is accepted

Sort by
0
Sushim
Top achievements
Rank 1
answered on 31 Mar 2012, 04:57 PM
Can anyone help me with the gradient, I do not want any shadow when I hover my mouse over the bar chart. How do I remove this? Please reply.
0
Dyana
Top achievements
Rank 1
answered on 10 May 2012, 11:10 AM
looking for similar info.
I expected setting .Overlay(ChartBarSeriesOverlay.None) to each series would give a flat bar colour, but no dice.

0
T. Tsonev
Telerik team
answered on 14 May 2012, 08:56 PM
Hi,

I can confirm that the Overlay setting is not functioning as expected. We'll fix the problem right away and the fix will be available in the upcoming internal builds. Apologies for the caused inconvenience. 

As a token of gratitude for your involvement your Telerik points have been updated.

Greetings,
Tsvetomir Tsonev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Chart
Asked by
Sushim
Top achievements
Rank 1
Answers by
Sushim
Top achievements
Rank 1
Dyana
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or