Jump to content
Software FX Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Grorange

  • Rank
  1. If I understand things correctly, we are not allowed to use decimals in the x-axis. If this is so, we need decimal values in the x axis. I have thought of a way to get around this but would like some feedback before I try anything. So, here goes... Instead of using decimals, I'll use the normal integer indexing. I'll do everything as intended and even start at index 0. However, instead of printing the indexes, I'll print my own labels, which will be string representations of the floating values we are really looking at. This complicates things because now I'll need to map each decimal value with an index (just simple math...) but I can see complications coming out of this, such as rounding errors to get the wrong datapoint. Has anyone tried anything like this? Is this the best way to approach this "opportunity"? Thanks for your inputs, Grorange
  2. Well, nevermind. I'm an idiot. Don't worry, my co-workers have already taken me in the back and beaten me for this. So, my requirements are different. We need to use decimal points for the x-axis values. However, ChartFX only allows integer values on the X axis. So I have to use labels instead and print the decimal representative of the number we are actually using. This complicates things because now we have 2 layers of numbers, the index and the represented value. Because this doesn't directly apply here, I'll create a new thread to address my questions. Thanks anyway,Grorange
  3. What a way to raise up a dead issue, huh? Oh well, here goes... So, I'm new to this new ChartFX stuff, and I've been trying to format my numbers also. I've been looking around a bunch, but there isn't that much support for displaying just 2 decimals. (i.e. the reply for the original question was not.. lets say complete, and the formatting examples in the documentation only covers Scientific Notation and date formatting) So, here is what I've attempted and am only getting results with 3 decimals showing (which seems to be the standard format...) CultureInfor ci = new CultureInfor("en-us");ci.NumberFormat.NumberNegativePattern = 2;Chart TheChart = new Chart();//TheChart.AxisX.LabelsFormat.FormatNumber(1.0);TheChart.AxisX.LabelsFormat.Decimals = 2;TheChart.AxisX.LabelsFormat.Format = AxisFormat.Number; Thank you for your help in advance.Grorange
  4. Reading my post again, I don't think I was very clear. So, what I know how to do: position the text relative to the gauge. What I'm trying to do - center align the text. This should allow me to position the text in the center of the gauge and the text should automatically adjust no matter the size. Right now, no matter where you place a title, or text as I've been referring to it, changing the size of the text will change the look of the gauge. This doesn't get the feel that I want in most cases. This may be an over-explained explanation, but it has to be either one extreme or the other, lol. Thanks,Grorange
  5. So, you can add titles to your gauge, position them with points or relative areas (middle-center, upper-left, etc.), but how do you center align the text? Thanks in advance, Grorange
  6. Right when I post the question, I find out what's wrong. I wanted to get the tickmarks to not show, but still show the labels, so I set the size to a very small .001f. Of course, this affects the location of the labels. So, now my question is, how can I eliminate the visual tickmarks but still maintain the labels? Thanks- Grorange
  7. I have a basic horizontal gauge. When I try to offset the position of the major tickmark labels, it sets it to what seems to be 0, no matter what I offset it to. Can anyone help me figure this out? I used: (note: [x] represents any value I put there) Tickmarks.Major.Label.Position = Position.Custom; Tickmarks.Major.Label.PositionCustom = [x]f; Thank you in advance for your help. - Grorange
  8. Oh well, thanks for the response. Grorange
  9. We would like to tell our ChartFX Lite graphs to render their images to a specific location. We would also like to put our own unique identifiers in the filenames. Is there any way to do this with ChartFX Lite?
  10. This one wasn't you, it's me. I'm not completely used to C#. I did a lot of C++, so there are a lot of expectations I have about what you can put in an object (ie. not int, float, double, etc.) Got it, though, thanks.
  11. Sorry if I seem so... I don't know how to say it. It is hard to come into this fresh. I appreciate your patience and responsive feedback. Grorange
  12. I appreciate your prompt reply. This actually helped out a lot, though I'd like to comment that the Type A link is not well documented. Properties are explained well and demonstrate what they are used for, but most of the information is just obvious. Something you should include is HOW to use it. More examples would help out a lot. Also, Type B is a good link to have, but does not relate at all with punching the information in manually. Thanks again, Grorange
  13. It seems that this is a recurring problem for me. Once I get around one brick wall, I run into another. Is there any online resources I can tap into that lays out all the classes and functions for me to use? Like an SDK? I would look at the forums, but it may be obvious now that there isn't any support for my requirements yet. All the answers talk about using the oh-so-easy interface. Thanks in advance, Grorange.
  14. Fixed. I had to create a new needle! Someone else showed me that. How in the heck was I suppose to figure that out with insufficient documentation?
  15. Fixed it. Instead of creating a new Unit object, I just set the Indicator's value to a simple float. Yeah, it was that easy. So what! Shut up! (kidding...)
  • Create New...