Skip to content

Tag: javascript

invert x and y axis Google charts

Consider the starter multiple line chart in google charts: This plots a graph like this: link cool. But is there a way to plot this so that the x axis shows the dollars and the y axis shows the Days? Thanks! Answer use the following option to rotate the axis’… see following working snippet…

Footer not enlarging/expanding

I created a website, and I want to expand my footer because right now it looks like this: It should cover the whole website and I tried increasing the width, but that did not work. This is the HTML/CSS of the footer: I got the whole footer code from another source, and I tried copying and pasting the code exa…

Validate Range of Numbers

I am trying to validate a comma separated list of numbers 1-384 unique (not repeating). i.e. 1, 2, 3, 5, 6, 7, 9 is valid 1-3, 5-7, 9 is valid 2, 2, 6 is invalid 2, is invalid 1, 2, 3, 4, 15, 6, 7, 385 is invalid because the last number is more than 384 I have tried the