fq
Members-
Content count
16 -
Joined
-
Last visited
About fq
-
Rank
Junior Member
-
Still waiting for a reply
-
Still waiting for a reply.
-
It didn't work. It's still the same. http://develop.kmsi.us/dotnet/application/FusionCharts/dm.htm I made the background to white and I saw the scale values in black. So i guess it didn't work. Also if I am not clear I am trying to get the 0%, 50%, 100% visible on the scale. The "value" is already visible on hover. Here is my xml now <Chart bgcolor="000000" lowerLimit="0" upperLimit="100" majorTMNumber="3" majorTMColor="FFFFFF" majorTMHeight="7" minorTMNumber="10" minorTMColor="FFFFFF" minorTMHeight="3" pivotRadius="3" pivotBgColor="FFFFFF" pivotBorderColor="FFFFFF" hoverCapBorderColor="FFFFFF" hoverCapBgColor="FFFFFF" majorTMThickness="2" gaugeInnerRadius="55" gaugeOuterRadius="55" gaugeAlpha="70" gaugeStartAngle="150" gaugeScaleAngle="120" gaugeOriginX="70" gaugeOriginY="75" displayValueDistance="12" tickMarkDecimalPrecision="0" numberSuffix="%25" decimalPrecision="0" placeValuesInside="2"> <dials> <dial value="65" borderColor="FFFFFF" borderAlpha="20" bgColor="FFFFFF" baseWidth="3" topWidth="1" /> </dials> <styles> <definition> <style name='myLabelsFont' type='font' font='Arial' size='14' color='FFFFFF' bold='1'/> </definition> <application> <apply toObject='value' styles='myLabelsFont' /> </application> </styles> </Chart>
-
I am trying to customize an angular chart. I made the background black but then how do I make the color of the text on the dial to white? This is my xml <?xml version="1.0" encoding="utf-8" standalone="yes"?> minorTMNumber="10" minorTMColor="FFFFFF" minorTMHeight="3" pivotRadius="3" pivotBgColor="FFFFFF" pivotBorderColor="FFFFFF" hoverCapBorderColor="FFFFFF" hoverCapBgColor="DDDDDD" majorTMThickness="2" gaugeInnerRadius="55" gaugeOuterRadius="55" gaugeAlpha="70" gaugeStartAngle="150" gaugeScaleAngle="120" gaugeOriginX="70" gaugeOriginY="75" displayValueDistance="12" tickMarkDecimalPrecision="0" numberSuffix="%25" decimalPrecision="0" placeValuesInside="2"> You can view the chart here http://develop.kmsi.us/dotnet/application/FusionCharts/dm.htm Its on the top left corner (the first one is real and the rest are just images). In the chart the dial text is missing because I can't change its color to white. PS: If you quote this message you can see the full xml. I think it's blocked.
-
I have another question though. If you watch the chart here http://develop.kmsi.us/dotnet/application/FusionCharts/thermometer_gauge_output.aspx?function_id=1&user_id=63323 its actually quite big. What we want to do is to put these charts as small widgets on a page. So how do I reduce the overall size of this chart? If I reduce the height/width I am losing the chart. Thank you.
-
Thank you so much. That change worked.
-
Please let me know today if you had a chance to check it out. Thank you.
-
I did and now it works but the bulb isn't showing. I am attaching the zip file and you can see it in action here http://develop.kmsi.us/dotnet/application/FusionCharts/thermometer_gauge_output.aspx?function_id=1&user_id=63323 Thank you. FusionCharts.zip
-
Thank you. It's now working. But I still have an issue with the thermometer gauge. Can you tell me what is wrong with this? I am attaching the zip file. Thank you. FusionCharts.zip
-
Waiting for a reply. Thank you.
-
I am attaching the HTML code and the code behind of the aspx page. Please look into it and let me know what's wrong. Thank you. FusionCharts.zip
-
Still not working. I tried the code you gave me and it still is displaying a small portion of the cylinder. I also tried the Thermometer gauge and it's doing the same thing.
-
I tried the width and the height and it still doesn't work. I only see a quarter of the cylinder only. I increased the width and height to about 1000 also and I still see the same quarter of the chart.
-
I am saving the XML to a file and setting the dataurl to that file. I got the angular gauges working fine. I can't get the cylinder to work. Only half a cylinder is visible. You can view the cylinder here http://develop.kmsi.us/dotnet/application/FusionCharts/cylinder_gauge.aspx?function_id=1&user_id=63323&certification_id=52 I also had another question. I was rendering XML as output to the browser and the charts didn't work that way. So as an alternate solution I am saving the xml to a file and using that for the charts. Is that the only way to do it?
-
I edited my first post also and the xml is now visible. Didn't see that yesterday. NOTE: The spaces in the XML are there to make it visible here. In the actual code there are no spaces so that's not the issue. And this is my code in VB.NET Private Sub CreateXML(ByVal FinalValue As Double) ms = New MemoryStream ' Create a new XmlTextWriter instance xWriter = New XmlTextWriter(ms, Encoding.UTF8) 'Format xWriter.Formatting = Formatting.Indented ' Write the beginning of the document including the document declaration. Standalone is true. xWriter.WriteStartDocument(True) xWriter.WriteStartElement("Chart") 'xWriter.WriteAttributeString("bgColor", "008B00") xWriter.WriteAttributeString("lowerLimit", "0") xWriter.WriteAttributeString("upperLimit", "100") xWriter.WriteAttributeString("cylColor", "999999") xWriter.WriteAttributeString("baseFontColor", "999999") xWriter.WriteAttributeString("decimalPrecision", "0") xWriter.WriteAttributeString("numberSuffix", "%") 'xWriter.WriteAttributeString("showValue", "1") 'xWriter.WriteAttributeString("numberSuffix", "%") xWriter.WriteElementString("value", FinalValue) ' End the "Chart" root element. xWriter.WriteEndElement() ' End the document xWriter.WriteEndDocument() xWriter.Flush() ' Flush the document out to file ms.Position = 0 ' Set the memory streams pointer to the start sr = New StreamReader(ms) ' Read the memory stream sXMLFile = sr.ReadToEnd() ' Copy to string from the memory stream xWriter.Close() sr.Close() ms.Close() ms = Nothing End Sub