How can I draw a straight line in jfreechart?
How could I draw a straight line with the equation y=m*x+n in a jfreechart chart? ...
How could I draw a straight line with the equation y=m*x+n in a jfreechart chart? ...
Hi, So I have two divs. One left div with navigation links and one right div that populates with content depending on what link you click on the left. I would like to have a vertical gray line between the navigation and the content separating the two, but I need it to change in height depending on how long the right side content div is...
Hi all, I have a TXT file that i need to import via an application, but for some reason i need to open it in wordpad first and then save it before importing it. I'm guessing it has to do with Line Breaks. Cause if i open it in notepad first, there are no line breaks, but if i open it with wordpad the lines are seperated. Does anyone kn...
How can I tell if a point belongs to a certain line? Examples are appreciated, if possible. ...
Is it possible for the debugger (or the CLR exception handler) to show the line where the exception happened in Release mode using the pdb? The code, in release mode, is optimized and do not always follow the order and logic of the "original" code. It's also surprising that the debugger can navigate through my code step by step, even i...
Probably easy to answer for you guys: How can i get awk to put a blank line into my file every n lines? ...
Which of the following allows more than one statement to appear on a single text Line? a) Colon ( : ) b) Semicolon ( ; ) c) Space + Underscore ( _ ) d) Underscore + space ( _ ) Thanks :) ...
I am seeing the weirdest bug with the following code. I have a PathGeometry to which I added a PathFigure so that I can add LineSegments to it. This is what I do: _pathGeometry.Figures.Add(_pathFigure); _pathFigure.StartPoint = new Point(4, 0); LineSegment lineSegment1 = new LineSegment(new Point(4, -10), true); LineSegment lineSegme...
Hi, I am working on SSRS Line chart report. I have plotted data for Fuel consumption for every month using data values (Fuel consumption) and category grouping (Jan-Dec). Data can be inconsistent i.e. for one or more month. I am facing problem in plotting lower limit and upper limit series for the data, which has to be consistent i.e ...
Howdy. I need to get the distance from a lat/lng point to a line. Of course needs to follow the Great Circle. I found a great article on this at http://www.movable-type.co.uk/scripts/latlong.html but the code is not working right. Either I am doing something wrong or there is something missing. Here is the function in question. See t...
OK guys/gals stuck again on something simple I have a text file which has multiple lines per entry, the data is in the following format firstword word word word wordx word word word interesting1 word word word word wordy word word word wordz word word word interesting2 word word word lastword this sequence repeats a hundred or so t...
I have a line from A to B and a circle positioned at C with the radius R. This is in two dimensions. Which is a good algorithm to use to check whether the line intersects the circle? And at what coordinate along the circles edge it occurred? ...
Hi, I use a php form processor script that works fine. Except when users submit text in a multi-line text field, any line breaks or new lines are stripped out of the resulting string variable that is passed on. This often makes it unreadable by whoever receives the form results. I'm no php expert but am sure the answer lies in the code...
Hi, I need to have a 1.5 line spacing within my document but without some parts like the TOC, title page etc. When I use this command to set the line spacing to 1.5: \renewcommand{\baselinestretch}{1.50}\normalsize the documents line spacing is set to 1.5. How can I exclude some parts of the document from that setting? Thanks for ...
Hello There, I am trying to put two banners on top of a navigation bar with everything nicely centered. I can get the two banners to nicely sit by one another but when I make the browser window smaller the first banner goes on top of the second! Is there a code where I can prevent this??? If so please let me know. Thank you very much....
Hey everybody, I'm currently struggling with two problems about the java.util.logging.Logger: 1) I'd like to have a (convenience-)method like the "info()/fine()" methods, only that those methods should not insert a line break after the output (functionality like System.out.print and println). I've already overridden the format() method ...
I want to store lines of strings dynamically using C language. for e.g sadasdasda5245sdf fadfa6456 fasdf90-70=790 the number of such lines and the length of each line can be anything.Is there any way to store the whole thing dynamically. ...
Hi, this question is kind-of programming related but not exactly - see how we go... I am trying to view a trip i have made using a gps tracking device onto google maps as one continuous line, however, when i upload the KML file onto google maps it is arbitrarily broken into about 7 different segments. The trip was made in one go and wh...
Hi,, I have created a custoom tooltip for a lineseries chart. however my problem is that this custom tooltip is never loaded..(I still get the default tooltip i.e. X-value) Is there something I should be doing differently?? page.xaml <Style x:Key="ttip" TargetType="chartingToolkit:LineDataPoint"> <Setter Property="Tem...
I am trying to read some text files, where each line needs to be processed. At the moment I am just using a StreamReader, and then reading each line individually. I am wondering whether there is a more efficient way (in terms of LoC and readability) to do this using LINQ without compromising operational efficiency. The examples I have s...