How to give different gradient in horizontal bar chart in Pentaho report designer - jfreechart

Is there any way to give different gradient color in each bar of bar chart in pentaho report designer. I'm trying with BeanShall Script but unable to get the gradient top to bottom, also I'm getting same gradient color in all the other bars too.
I'm attaching a image which is my desire result.
Thanks in advance,
Regards,
Ankit Patni

Finally got the solution on my own. Written a blog for the same
http://bineedsui.wordpress.com/2013/12/19/horizontal-gradient-bar-chart-in-pentaho-reporting-designer/

Related

Unable to change ColorPalette property on Telerik Report graph

I'm using the Telerik Reports graph wizard to create a bar chart. Even though I can change the ColorPalette property to GradientPalette and can choose the desired colors, the results are the same flat single color. What am I doing wrong? Thanks for your help and advice.
The Graph's Color Palette applies gradient coloring on the whole series, not on each of the the data points. I believe you're trying to achieve gradient-colored bars, but this feature is not supported. If in your bar chart you define series groups, then the first bar will be colored using the palette's BeginColor, the last bar will be colored with the palette's EndColor all the bars between them will have solid color, calculated based on their count and offset from the BeginColor towards the EndColor.
The Gradient Palette makes much sense when used in the Choropleth, where the color represents an additional data measure - see a demo here.

Devexpress. How to get crosshair label text

I'm using Devexpress charts for winforms. I'm using the SwiftPlotSeriesView for preformance, but since the hittesting is off for that type I can't get the clicked point on the chart. That's why i whould like to get the text value from the crosshair label so that i know where in my series the user clicked. I nope my explanations is good enough :)
Any help?
After hours of work we concluded that this is not possible in Devexpress SwiftPlotSeries.

Telerik Rad Chart shows blurred black image

I am using Telerik Rad Chart in my WPF application to plot some graph.
The problem is when there is no data the chart shows a blurred black image.
Is there any way to get around so that the graph does not show this image when the data is not there.
Or i will be happy if there is some other thing that we can do.
Thanks.
put this below code in .cs(code behind page)
chartname.PlotArea.EmptySeriesMessage.TextBlock.Text = "Data is not available";
this avoid the image and if there is no data it will display the message "data is not available".

Format bar margins in bar chart on SQL Server Reporting Services

I want to "squish together" the bars in a bar chart because I need to put a larger set of elements in the chart. How can I shrink the margins between each bar? I don't need to change the side margins, just the gaps between the bars. Thanks all.
Try this information. It worked for me.
http://blogs.msdn.com/b/seanboon/archive/2008/10/31/ssrs-and-microsoft-chart-control-chart-how-to-change-the-width-of-bars-and-columns.aspx

Draw bar chart in windows application using c#

I want to draw a bar in +ve and -ve direction in chart. Like a line at the Middle of the chart and bar are in both the direction.
Please suggest me how I can draw chart in C#.
You can use ZedGraph . It can do a lot of charting stuff. Here you can find samples, there are some bar samples there.
I used it, it's realy easy way to create any chart with this library.

Resources