Hello,
I'm almost done with a core-plot graph I've been working on for a couple of day now.
There is something I am still not able to do (and I cannot find documentation on this), is to change the x axis labels to what I need.
Today, I have an x axis with integer label beeing displayed every 5 values: "5 10 15...", I need to have labels...
How can I convert a length into a value in the range -1.0 to 1.0?
Example: my stage is 440px in length and accepts mouse events. I would like to click in the middle of the stage, and rather than an output of X = 220, I'd like it to be X = 0. Similarly, I'd like the real X = 0 to become X = -1.0 and the real X = 440 to become X = 1.0....
First, apologies,this should be simple but I've had too much coffee and cannot wrap my tired brain around this (at least not without making it way more complicated than I know it should be).
Lets say I have a simple Javascript array with a number of items in it:
var items = ["Hello", "This", "is", "an", "array", "with",
"...
Hi
Is there cross-browser javascript plugin (jquery/any js library) for handling ranges, especially Firefox's range object(https://developer.mozilla.org/en/DOM/range) and Internet Explorer's TextRange (http://www.webreference.com/js/column12/trmethods.html)?
Thanks
Srikanth
...
Hi, I'm trying to use the range pattern [01-12] in regex to match two digit mm, but this doesn't work as expected. Please advise, thanks.
...
Using JavaScript, I would like to create a collapsed range from a pixel position, in order to insert new nodes in the flow of the document, after the range identified by this position.
This can be done with the TextRange object in Internet Exporer (moveToPoint(x, y) method).
How can I do this in FireFox & Webkit?
I can get the contain...
I want a use a Dual Slider (Range) HTML control, similar to the JQuery dual Slider, without having to load a huge JavaScript framework just to use it.
Does such a dual slider control exist, that is light weight (filesize) and doesn't require me loading any JavaScript frameworks?
...
Hi,
I'm trying to figure out how to calculate a min/max lat/long bound on the specific given range of a gps coordinate.
for example: gps coord 37.42935699924869,-122.16962099075317 range .2 miles
I'm looking at the point + range + bearing in the http://www.movable-type.co.uk/scripts/latlong.html site but im not sure if this is exactl...
Hello, I'm developing a programming language for which I want to provide a Range data type which for now is, not as usually, a list of pairs of int values (x,y) with the constraint that x < y. I say not as usually because usually a range is just a pair but in my case it is more than than, allowing to have for example
1 to 5, 7 to 11, 13...
Okay I have a problem with my Windows Application. My DataGridView consists of the following columns: ProductName, Qty, Price, Subtotal. So I am assuming that the Cell Indexes of these are respectively as follows: 0, 1, 2, 3. However, whenever I try executing the code below:
txtSubtotalProducts.Text = "Php " + (Convert.ToDouble(dgvProdu...
I'm quite new to python, so I'm doing my usual of going through Project Euler to work out the logical kinks in my head.
Basically, I need the largest list size possible, ie range(1,n), without overflowing.
Any ideas?
...
Currently the range slider outputs min&max values into single text field. I think that's wrong behavior, at least for me :)
Is there a way to separate these values using two different "input" fields?
Thanks!
...
Given two inclusive integer ranges [x1:x2] and [y1:y2], where x1 <= x2 and y1 <= y2, what is the most efficient way to test whether there is any overlap of the two ranges?
A simple implementation is as follows:
bool testOverlap(int x1, int x2, int y1, int y2) {
return (x1 >= y1 && x1 <= y2) ||
(x2 >= y1 && x2 <= y2) ||
...
As per this plugin http://flowplayer.org/tools/demos/rangeinput/index.html
Does anybody know how to add second handle to the range? I've asked this on official site but still no answer :(
...
Hello there,
Can someone guide me on date range in JavaScript ? I want to calculate one week and month date range from current(today's) date i.e if today is 18th july 2010, range for week should be 11/07/2010 - 8/07/2010
and for month it should be 01/07/2010 - 18/07/2010.
Thanks for your guidance in advance.
~Bharat
...
I'm looking for an algorithm to return the number of parts per 100.
For example, if the part is between 1 to 100 then it return 1. If the part is between 101 to 200 then it should return 2. Final example, if the part is 357 it should return 4.
A simple division will not work and tried modulo but cannot get it to give me the right answ...
hello, i have the problem with MapReduce and complex date ranges:
i have database entries like this:
{
name: x,
ranges:
[
{from: 2010-1-1, to: 2010-1-15},
{from: 2010-1-17, to:2010-1-20},
]
}
...
now i want to query which documents fit into the range: 2010-1-10 to 2010-1-18.
i am totally stuck on this because every couchdb exampl...
I have a large array to be accessed by multiple thread. Single lock is not efficient enough.Is there a range lock class in java or scala?
...
Hi,
I've been looking on the internet for 4 hours and I just can't do it.
My objectives : create a combo where I can sort my items and when I click on one of them, the item appears alone.
In Excel, easy to do, but I can't do it in C#.
I found this answer : Other topic, but I can't understand where the "this.Controls" comes from.
Tha...
how can i get a list of DateTime objects which match the following criteria:
they are between two instances of DateTime
they fall on a fraction of an hour/min. eg. they are a full quarter of an hour
with active support a possible solution is:
(my_datetime_ob_a.to_i .. my_datetime_ob_b.to_i).each { |timestamp|
puts timestamp if (t...