theideabulb
asked on
Flot Charts and Using Text instead of number in Axis
If you look at alot of the chart/graphic examples that use Flot, all the bottom axis have numbers. Mostly representing Month or Days of Month. That is fine, but most of the time, I need to use a actual word. For my question though, lets use name of the month.
In these examples, if I change the numbers 1 through 12 and make them Jan Feb Mar Apr, etc, etc, the graphs disappear. I am not sure how or why this happens. In some cases the number or word is just in a JAN so why does this effect the chart.
Here is an example
But if i change it to this:
All the data for those 3 months will disappear.
Does anyone know how to change or what to look for to allow text to appear in there?
Thank you
In these examples, if I change the numbers 1 through 12 and make them Jan Feb Mar Apr, etc, etc, the graphs disappear. I am not sure how or why this happens. In some cases the number or word is just in a JAN so why does this effect the chart.
Here is an example
<tbody> <tr> <th>1</th><td>256</td><td>1207</td> </tr> <tr> <th>2</th><td>203</td><td>1000</td> </tr> <tr> <th>3</th><td>241</td><td>1050</td> </tr> </tbody>
But if i change it to this:
<tbody> <tr> <th>Jan</th><td>256</td><td>1207</td> </tr> <tr> <th>Feb</th><td>203</td><td>1000</td> </tr> <tr> <th>Mar</th><td>241</td><td>1050</td> </tr> </tbody>
All the data for those 3 months will disappear.
Does anyone know how to change or what to look for to allow text to appear in there?
Thank you
ASKER
thank you, but yes, i stated it was using Flot in my question.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found this answer and it solves the issue that I was looking for. I was able to put text into the x axis
http://code.google.com/p/flot/