![](https://forum.fusioncharts.com/uploads/set_resources_2/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
pickle
Members-
Content count
10 -
Joined
-
Last visited
About pickle
-
Rank
Junior Member
-
Bummer! Thanks anyways
-
Hello, Is there anyway to position the y-axis to the right hand side of the bar2d chart? pickle
-
Yes that helps, thank you Haritha!
- 6 replies
-
- multiseries
- asp.net
-
(and 1 more)
Tagged with:
-
FusionCharts 3.2.4-sr1
-
Maybe the easier solution, if possible, would be to customize the legend. That way I can just set the messages to the appropriate color in the legend. Would this be possible?
- 6 replies
-
- multiseries
- asp.net
-
(and 1 more)
Tagged with:
-
Btw is there any way I can mark this as solved? For your convenience at least.
-
[sOLVED] I figured out that it was not rendering due to setting the chart's height/width properties as percentages. When they were set to percentages it would only work in IE10. I then changed them to be represented in pixels and it now works in Firefox 22. This problem occurred with the Pie2d and Bar2d charts just to let you guys know. Thanks, pickle
-
Hello, I'm having trouble figuring out why my chart is not displaying anything. Here is the code to set up the literal placeholder inside of the page: <div style="width:350px;margin-left:auto;margin-right:auto;height:200px;padding-top:10px;" id="statusChartDiv"> <div id="statusChartContainer"></div> <asp:Literal ID="Literal3" Visible="true" runat="server"></asp:Literal> </div> And here is the code in the code-behind file that actually does the rendering: StringBuilder xmlData = new StringBuilder(); xmlData.Append("<chart caption='Status Of Period' numberSuffix='%'>"); xmlData.AppendFormat("<set label='Period Elapsed' value='4'/>");//temp1.ToString()); xmlData.AppendFormat("<set label='Total Expensed' value='5'/>");//temp2.ToString()); xmlData.AppendFormat("<set label='Hours Delivered' value='6'/>");//temp3.ToString()); xmlData.Append("</chart>"); Literal3.Text = FusionCharts.RenderChart("/Dashboard/Charts/Bar2D.swf", "", xmlData.ToString(), "statusID", "100%", "100%", false, false); A couple pointers: *I know the file path for the FusionCharts.js file (and other related files) is correct because I have other FusionCharts on the same page that are being rendered perfectly, however, this chart does not display anything. *I have tested the <div> elements (which are consistent throughout the page) and they are in the correct places so if anything were to show up I would be able to tell. *Also, the code in the code-behind file is located within a function that is called inside of the page_load function, which is set up much like the other chart functions that are not having problems. Any noticeable mistakes I am missing? Thanks, pickle
-
Hi Haritha, Sounds easy enough, but still one question. After I have compared all of the variables to the average and added them to the appropriate dataset container how will I add them into the graph's xml? It seems that the order in which you supply the data values is the order in which they are added to the labels, correct? If so, I don't know how I will be able to add some values of one dataset and some values of another throughout. For example, I have 12 data labels, one for each month of the year. The first three months were above average, the second three were below, the next two were above, etc.. This goes back to a question in the original post that might make more sense now, is it possible to close off a dataset and add more data to it later? Thanks, pickle
- 6 replies
-
- multiseries
- asp.net
-
(and 1 more)
Tagged with:
-
My scenario: I want a multi-series column chart to display data from a database. The y trend line is going to represent some average number throughout the chart. What I want to do is test to see if each column is above/below this average and change the color accordingly (i.e. if the column is below the average it would be red alerting the observer, otherwise it would be green). This seems doable, however I also want to show the two different column possibilities in the legend (red columns = 'Below Average', green columns = 'Above Average'). Essentially, because it is coming from a database and I don't know the values at compile-time, the chart could render columns in varying colors (i.e. red green red green...). From what I have read, it seems the datasets and their values are going to match up with each label in the order they are written to the xml data. This is where I'm stuck, because some data may be written to one dataset while the next time around I need to write it to another (if I used two separate datasets). Is there a way to close a dataset and append data to it later? How do I solve this? Thanks, pickle
- 6 replies
-
- multiseries
- asp.net
-
(and 1 more)
Tagged with: