Google Image chart not showing correct value for Y-axis in Bar chart - charts

I am rending image chart on a server side code. I am using bar chart (bvg).
I am not able to render the chart the way I want to. I am sure it's doable because I have done it using Google Chart JS. The chart's x axis is month and y axis is score. I want to display the labels Month and Score for each axis along with the bar labels. I also want to show the value markers on the Y-axis.
When I add X and Y axis labels with chxl the Axis Labels shows up along with Y-axis value markers; but strange the value markers denote wrong values. The values range between 0 and 100 no matter what values my bar represents and that too the height of the bar doesn't match with the Y-axis values (which ranges between 0 and 100). Please help.
I've written the URL like this:
https://chart.googleapis.com/chart?cht=bvg&chxt=x,x,y,y&chxl=1:|Months|3:|Score&chxp=1,50|3,50&chbh=30,20,20&chds=0,40&chs=400x400&chco=015CAE,015CAE,015CAE,015CAE,015CAE&chd=t:22,32,11,27,8&chl=Jan|Feb|Mar|Apr|May
And I am concerned about the values displayed in the following snapshot of the chart (see highlighted values in red, they do not match the actual bar values):

Don't Include chds parameter
Here is the modified link:
https://chart.googleapis.com/chart?cht=bvg&chxt=x,x,y,y&chxl=1:|Months|3:|Score&chxp=1,50|3,50&chbh=30,20,20&chs=400x400&chco=015CAE,015CAE,015CAE,015CAE,015CAE&chd=t:22,32,11,27,8&chl=Jan|Feb|Mar|Apr|May

Related

jaspersoft jfreechart range or y axis is derived incorrectly

I am using jasper reports with charting. The chart generally works with a wide variety of values.
In one case the values are either 1.011 or 1.01 for the range or Y axis. That is, the user tries to generate a chart and some of the values are 1.011 and some are 1.01.
The challenge is, when generating a chart with these values, the chart is scaled incorrectly on the range or Y axis. The labels range from 1.000 to 1.010 with increments of .001. As the top of the chart is 1.010, the values 1.011 fall off the top of the chart and don't appear on the chart.
Can anybody explain how the range or Y axis is derived beyond stating that the axis is derived from the data. And why, in this case, is the axis derived
incorrectly?
Is there a way to configure the chart to display the range or Y axis more correctly?
I edit a jrxml file. I do not use iReports or java api.
Thanks for all of your assistance and good ideas

How to display only label but not the axis markings using Google Line Chart?

I have a problem with Google chart URL. The URL is used to display a Google Chart to represent value(y axis) verses time(x axis). Y axis is indexed from 0 to 100 and labeled as "Value", Similarly X axis is indexed from 0 to 100 and labeled as "Time".
The URL is "http://chart.googleapis.com/chart?cht=lc&chs=300x300&chxt=y&chxt=x,x,y,y&chxl=1:|Time|3:|Value&chxp=1,50|3,50&chd=t:" In this Graph I need to display only the label and remove indexes. I tried all sorts of permutations and combinations. Please help !

How to ensure HighStocks chart x-axis spans the full chart width?

I am using HighStocks (http://api.highcharts.com/highstock) and have data being plotted on 2 different y axes with timestamps for the x axis, one series is an 'areaspline' chart and the other is a 'column' chart. When changing the zoom view, the chart becomes more or less narrow. This never happened when I was only using areasplines, even with two y-axes.
How can I ensure the x-axis fills the entire chart width?

How do you accurately set the offset of an axisLabel in CorePlot?

Problem Statement:
A bar plot in created with CorePlot has a Y-axis that features a dynamic range. The minimum value of this range is presumed to be <= 0. The maximum value of the range is presumed to be > 0.
The bar plot features custom X-axis labels which have an offset to distance themselves from the 0 line of the Y-axis. (label.offset)
However, because the exact location of the 0 line may change during runtime, a static value to offset the X-axis labels is not sufficient.
Question:
What is the appropriate way to accurately set the offset of Axis labels, when axis parameters change at runtime?
Screenshot attached to show problem. Labels should be below the ($200,000) line, but because the top end value is dynamic, they move up and down.
http://i.imgur.com/jdwy1c2.png
From the linked picture, it doesn't look like you're drawing the axis line. Use axis constraints to hold the x-axis at the bottom of the plot area. If you do want to draw an axis line, e.g., at y = 0, add a second x-axis. Use one to draw the axis line and the other to position the labels. Set all of the line style properties of the second axis to nil so it doesn't draw any lines and use constraints to hold it at the bottom of the plot area.

How to change X and Y axis numbers' colour in GraphView for Android?

I'm using GraphView in my app to display a realtime graph from the magnetic field sensor values.
Initialized the GraphView object as follows:
GraphView graph = findViewById(R.id.graph);
...
and set data series and grid colour using the following:
...
graph.addSeries(series);
...
graph.getGridLabelRenderer().setGridColor(Color.RED);
And I get this as a result.
Graph with numbers I want to change highlited
Now I want to remove the X and Y axis value numbers indicated in the above picture by green arrows, how can I do that? If they can't be removed, how can I change their font colour? I'll make it match the background.
Just found what I was looking for, to disable the X and Y numbers along the axes, use:
graph.getGridLabelRenderer().setVerticalLabelsVisible(false);
graph.getGridLabelRenderer().setHorizontalLabelsVisible(false);