Google Charts API value misaligned - charts

I am using the Google Chart API to display some game outcomes, however, the highest value always shows up aligned to the edge within the green bar instead of above the bar (or at least with some padding between the top and the text).
I use the following URL to generate the chart:
[http://chart.apis.google.com/chart?cht=bvs&chd=t:14.1,2.1&chp=1.57079633&chs=300x155&chl=|&chco=43A443|D53030|3B74CA|FFDC00&chf=bg,s,00000000&chbh=70&chds=0,14&chm=N*0,FFFFFF,0,-1,20,,ve::15&chp=10][1]
This generates a chart that looks like the following (I need 2 more rep on SO to post images, can someone please edit to include this image?):
![http://chart.apis.google.com/chart?cht=bvs&chd=t:14.1,2.1&chp=1.57079633&chs=300x155&chl=|&chco=43A443|D53030|3B74CA|FFDC00&chf=bg,s,00000000&chbh=70&chds=0,14&chm=N*0,FFFFFF,0,-1,20,,ve::15&chp=10][1]
[1]: http://i.stack.imgur.com/QiE2d.png
There is actually a 2 above the red bar that is aligned correctly, but since the background on SO is white, it's not showing up.
How can I make it appear ABOVE the green bar. I've torn the API a part and tried seemingly every combination with no avail.
The API reference is available here: http://code.google.com/apis/chart/interactive/docs/reference.html

The problem is with "chm".
I removed the color specifications, and now the link works perfectly.
http://chart.apis.google.com/chart?cht=bvs&chd=t:14.1,2.1&chp=1.57079633&chs=300x155&chl=|&chco=43A443|D53030|3B74CA|FFDC00&chf=bg,s,00000000&chbh=70&chds=0,14&chp=10&chm=N,,0,-1,20,,ve::15

Related

Form Border Style is not properly displayed

This is one problem I can't understand. I'm using windows 10 and by default the form border should be displayed like this:
But for some reason or the other, my windows form app's form border is like this:
... despite the form border property is set to FixedSingle. I also tried the same with form border property Fixed3D but still it is of no use.
It would be great if someone could guide me about how this can be fixed and the reason my form's border is wired. Please download the images to get a clarity of what I'm asking.
NOTE
Fixed here means to get back the default form border.
I also use Bunifu Framework. However I don't know the relevance it has here
The image attached was taken during debugging

Unable to change order of Stacked bar chart data

I'm using Crystal 11.5 on the desktop. I'm having a problem where the stacked chart data is not appearing as I want. It appears like below, but I would like:
1) Completed on bottom, then Open on top,
2) Completed should be blue color, Open orange.
I think once the data appears as I want, changing the color should be easy enough via manual manipulation.
I tried using a lot of different chart options and playing around with Specified Order as reversed (Open, Completed instead of Completed, Open). Nothing I've done has worked.
In order to have the stacked data appear as I want, I needed to first create a cross tab (pivot table). Then right click on the cross tab and select Insert Chart.

Background Image not Aligning with Bubble Chart in SSRS

I have a background image for my bubble chart in SSRS (2008).
On the Design tab, the background image stays behind the bubble chart.
When I run the report (preview), the background image appears below the bubble chart - not behind it. I've set the background image as 'Send to Back'.
I assumed it should always stay as back of bubble chart.
How do I ensure that it stays fixed behind the bubble chart?
From the bubble chart graph, I have no option of filling the background with the embedded image.
According to this SSRS documentation, overlapping report items are not supported in preview mode, nor are they supported in HTML, Word, Excel, and several other important export formats. They are, however, supported in .pdf, and I've tested this to make sure that it works - even when the preview bumps the items so that they do not overlap, an exported .pdf will show them overlapping. So depending on the format you need, having overlapping report items may or may not be possible. If it is not possible for your required format, start looking into alternatives, like cropping your image into four separate images that surround your chart, and then keeping the chart as a fixed size in your report.
Oh, and I'm not sure what you mean by saying "From the bubble chart graph, I have no option of filling the background with the embedded image," if you are saying it won't work for your design purposes, that's fine. But I am able to set a background image in a bubble chart using the Fill section of the properties tab for the bubble chart to select a background image.
Edit: I am using Visual Studio 2008 as well. The properties window for the bubble chart looks like this:
Since it sounds like you already have the image you want uploaded to your project, you can choose "Embedded" for your source and then find the image in the Value dropdown.

Is it possible to install circular avatar in place of axis text labels

I've got a requirement to install people's faces on the Y-Axis of a bar chart. Is it possible to install a custom image in place of the axis label? Ideally the solution would enable border-radius, border-style, and image URL properties.
Bonus points if you can point me towards documentation for enabling image-axis-label click & mouseover events!
There is an example of using images as labels here:
https://www.rgraph.net/demos/bar-images-as-labels.html
But keep in mind that they're not DOM objects - ie you can't style them with CSS on add mouseover events to them (at least not in the standard way). You could add a mouseover using RGraph though.

Reporting Services 2008 Chart DynamicHeight Property Creates Extra Space

I have a bar chart with horizontal bars. I used this article to setup the dynamic height property:
http://blogs.msdn.com/b/robertbruckner/archive/2008/10/27/charts-with-dynamic-size-based-on-categories-or-data.aspx
Everything looks fine in the viewer, but as soon as you go to print layout, pdf, et.al there is about 50% more blank space below the chart.
I've created a sample report (using AdventureWorks DB) to show what is happening. I placed 3 charts with blue backgrounds, each inside its own rectangle with gray backgrounds. The first chart has an expression in the DynamicHeight property, the second chart has a hard coded value in the DynamicHeight property of 8.5in, and the third chart has a blank DynamicHeight and a 8.5in in the normal Height property. I have it return 15 items to place in the chart.
They all look fine in the viewer like I said before, but go to Print Layout and the first and second charts take up twice the space with half of it being blank below the report.
I tried to post the .rdl code, but its too much for the size limit.
I have an open ticket to Microsoft that has been escalated.
We've filed the necessary request to get collaboration from our development team so we should be getting a response regarding this functionality sometime in the next couple days. I'll let you know what they say.
Development has later confirmed it was definitely a bug, now are trying to decide if it is worth it to add to the next cumulative update or wait until SSRS 2010.
The work around until this is fixed, is to place the chart control into a table/tablix.
I added an empty table, deleted the details row and the two extra columns, and added my chart that was giving me problems. Everything appears to re-size correctly now.
try setting up the interactive size, margin and page size. im not sure if it will work but you can try. page size - margin = interactive size. do not exceed from your page size when giving value to your interactive size and margin, this also can cause white spaces in print layout.
hope it helps.
best regards,
cathy