JFreechart set height of vertical data - jfreechart

Has anyone an idea how i could set the height of the data vertical wise?
(source: gabathuler.de)

BarChartDemo1, shown here, is a good example.

Related

Recharts: Yaxis label cutoff and not aligning in mobile screens

Here is the recharts - Bar chart sample I have tried. https://codesandbox.io/s/simple-bar-chart-forked-8tu41b?file=/src/App.tsx
When width is lesser, Yaxis label is not started from the first, it seems to be cutoff like below. Example full email is "longnametestuser#testdomain.com" but it is starting from "user#testdomain.com". (Note: Even if we add tickFormatter to add ellipse after certain characters in label, it is not aligning unless we give proper width meaning it is cut off at the start. I could not understand it. Please help me to understand and align it.)
And when viewing the chart in the Large and Small mobile screens, chart bars are overriding the labels like this,
I have wrapped the chart inside the responsive container still chart bars and labels are not fitting properly. Any suggestions for this problem would be very helpful.
Thank you in advance.

Curve in D3 shape

I tried creating a funnel chart using D3 and vx. This is what i have achieved so far
https://www.webpackbin.com/bins/-L-TDMSWHUS-ZOi0jb8t
But i tried all curve options from d3-shape. But couldn't create the cure as shown in
Any help would be appreciated.
Seems like your best bet would be to make a basic area chart and to reflect it across the x-axis. I believe that would give a similar effect. For more clarification, the x-axis would go through the horizontal center of the chart in the image above

yAxis labels are being cut off in ngEchars (Echarts)

I have user ngEcharts (angularjs plugin of Echarts). When i implement bar chart yaxis labels are cutting off.
can anyone point me on the direction to how to prevent this or increase yAxis label area or decrease chart area?
After Ovilia's link i was able to remove cut off using it's grid property.
It has containLabel property.
Once i set containLabel it to true, i didn't need to set grid size. it worked!

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

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/

Change pixels to fill with color in a WPF image

I'm trying to fill an area of an image in WPF. Something similar to the bucket in Paint. How should I do this? I'm thinking of getting the pixel color under the mouse, and change all the pixels with the same color near. Is there a simpler way?
What should I use? WriteableBitmap?
Thank you
Yes, WriteableBitmap is the best way to go on this one IMHO.

Resources