Jump to content
Software FX Community

Bob

Members
  • Posts

    14
  • Joined

  • Last visited

Bob's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. And for completness. double xValue = chart.AxisX.PixelToValue(e.X); DateTime dt = DateTime.FromOADate(xValue);
  2. Greetings, I have a line chart that has a stack of values plotted where the Y axis uses numeric values and the X axis is time ... I want my users to click anywhere on the graph and get the X axis value .. i.e. 10:45am ... I intend to use this value to comment on parts of my graph. By using the "MouseClick" event I can get the "value" property which is the opposite of what I want as it returns the Y axis value I want the X axis value . The dream being a user clicks on the graph .. and I pop up a dialog box for them to enter some text and I have the X value from the mouse click. How can I get my X axis value (and not the x and y pixel values which are useless) cheers.
  3. Thank you so much Andre ... your sample was gold to me .. saved me hours of drilling through blogs trying to piece all the relevant info together. Think I'll go have a long lunch now that this tool will get finished on time ;-) Cheers Bob.
  4. Has any-one tried to put a Pie chart and a Bar chart on the same page and by clicking on a segment triggered the barchart to update in an asp.net update Panel. The Pie chart generates a client side image map that you can specify the URL for each point. It sounds like the kind of thing using these charts and Ajax should be able to do. Could I make each point.link.Url a call a javascript function with a paramter or 2 and 'trigger' the update panel that way? Any pointers hints tips crazy ideas how this might be possible ? Cheers Bob.
  5. Ignore my post .. I misread the answer ... re global context .. works now. cheers.
  6. Still no joy .. when I look at the HTML generated (imagemap) I have URL's all looking like this : <area shape="poly" coords="189,190,189,194,260,194,260,190" href="http://localhost/OFSLive/User/MachineRate.aspx?Point=0&Series=0" *snip*<area shape="poly" coords="185,173,189,173,191,192,187,192" href="http://localhost/OFSLive/User/MachineRate.aspx?Point=0&Series=0" *snip*<area shape="poly" coords="182,125,150,175,190,185,225,165" href="http://localhost/OFSLive/User/MachineRate.aspx?Point=0&Series=0" *snip* ... etc ... I am expecting to see numbers other than zero in the point value. In the documentation it mentions a setting: Chart1.ImageSettings.EmbeddedMap = true; however I cannot find this setting it doesnt seem to exist .. I tried adding the namespace ChartFX.WebForms.ImageSettings but I cant find it either, the documentation doesnt say whether there is a resource that contains it. I have tried switching the interactive property in the designer on .. but this has made no change. I'm just shooting in the dark really. What could I be doing wrong? .. its a straight PIE chart with 1 series and 6 - 10 slices Are there any code snippet examples of this to look at ? My webforms version is 7.0.2893.24916
  7. Hi, I want to use the chart.series.link.url with a pie chart. I see that I have to create my URL as a string as such string myUrl = http://myUrl.aspx?Point=%N&Series=%S; but how do I populate the point %N .. does this automatically populate or do I have to set a property or do I have to do some other magic. right now it gets populated as 0 Any example appreciated regards Bob
  8. Hi, Has any-one found a way to resize a chart when the browser window changes size. Or perhaps even knowing what the window size is before the chart is drawn so I could set its width. Or perhaps even knowing after the page is drawn and updating the chart.width in an AJAX panel I want to avoid having a chart of fixed size catering to those with tiny screens at the expense of those with larger and widscreens. I'm using asp.net and ajax but am having some chicken before the egg issues. Any starting points appreciated or being told its just not technically possible. Cheers Bob.
  9. Thanks .. I am using forms authentication and needed to set the machine keys between the PSS and Application as described in the KB article you posted. Solved.
  10. Hi, I've recently upgraded my dev environment to use visual studio 2008. I develop both C# managed apps and web apps. I bought chartFX and ChartFX webapps late last year and although the winapps works perfectly I am having trouble with the web apps now. My production server works fine .. but on my development box I can no longer test my charts working .. I can drag and drop them in the IDE set all the properties as usual but when I try to debug or "view in browser" I only see the broken image icon. I have re-installed a few times trying both "developer" and "QA & Testing" install options but no joy. I am running the latest update on the support site I have done a test deploy and the charts do display there. I have brought back some other working web apps but I cannot see or use them in the IDE. Any ideas what is happening or how to resolve this? Cheers Bob
×
×
  • Create New...