Google Chart Date X-Axis not proportionate to length of time - google-visualization

I have a simple chart plotting data over time. The data points are taken at random time intervals, and I would like the chart X axis (time) to actually reflect the interval between these dates. Currently the x axis always uses the same spacing between two dates, regardless of the span of time covering the delta.
Thanks!

https://developers.google.com/chart/interactive/docs/gallery/annotatedtimeline
should do what you want. It has support for graphing using dates.

Related

Power BI X axis issue with days and hours

I'm new in Power BI and I would like to a create a line chart, with Selected Days and Hours on X axis, and the sum of values on Y axis in a selected Year. For example:
As you can see I could do it, but with a scrollbar. I can't change the X axis type to continous because days (Monday, Tuesday etc.) are string. So I made a column with integers (like 1 is Monday, 7 is Sunday etc.). But it doesn't work either.
I would like to see the whole chart on page without scrollbar.
Let me know if it is possible, thank you!
In order to use a "continuous" X-axis you need to have a numeric column, in your case, even if you replace the "day name" with its corresponding number the value will be a string ie: "Saturday 11" → "6 11", also check the current data type of the column, maybe you just need to set it as number.
Now let's say you make a meaningful number to represent your data and use a continuous X-axis, you won't have a scrollbar anymore, but you also won't be able to see all the values of the X-axis (you might see a value label every 5-10-20 values), and there is also the sorting to take into consideration.
About the X-axis sorting, as of now, it looks totally random to me. Since the chart context is given by "year", to have a meaningful sorting of your dates you need at least a sorting key that represent Month and Day, if you want to use it in the axis itself as a number it should be in the format "MMDD"

just show every hour as time tick in chart.js

i have the following plot from chart.js:
But right now I cannot find anything how to just show the full hour and going in 1h steps: So what I want is just a simple time axis scale with labels at 0,1,2,3,4,5,... so that multiple data points could are bewteen two time ticks like the data at 3:26, 3:58 and 3:12 are just 3 points between 3 and 4.
Thank you very much!

Power BI - Overlapping points in Power BI Scatter Chart

I am plotting a scatter chart with the x-axis: Date Value, y-axis: Value of measured test cases.
However, since most of my measured test cases are the same, the data points are overlapped. This results in my graph showing just a horizontal line. I want to show the distribution of all the data points even if the value is the same.

Can I make a Power BI Trend Chart with 3 Axis?

I have 3 values which I don't need to compare the size of them to each other, just their trending nature. However, when I try to put them into a line chart/combo chart one value is always drowned out.
THe values are: Summation of Spending, Percentage of Turns, and Time To Sell (in days). So one month can have this:
Spend: 200,000
Turns: 9%
TTS: 107
This data is by month as well.
The one thing I am trying from the below article is stacking charts on each other. Which is ugly and causes me to lose some visibility on the chart in the back.
This article gets me close but not quite.
Stack Overflow Question

Is it possible to develop the line charts with multiple colors in powerbi?

I developed the few Line charts for BMP280 sensor data in powerbi. This is one of the line chart for displaying the temperature value by time and device id.
But I want same line chart with different Color like this below image, whenever temperature value suddenly changes.
Can you please tell me is it possible to develop the Line chart with multiple colors?
If you're willing to consider a vertical bar chart instead of a line chart, you would be able to create a calculation for each row that determines whether the change is significant, potentially by comparing an aggregate of recent measurements to specific thresholds.
Once you do that, you would use this column's value as a legend for your visualization. So if a row has a value of "Significant Positive Change" (or something like that), the bar or bars showing that change can be red.
Your other alternative is to use an R-based visual, of which there are surely examples of this type of visualization. I'll update this answer if I find one that looks promising.
Instead of tending 1 data series, you can split it into 2 data series e.g. one with normal temperatures and one with high temperatures. Then you can just plot these in different colours. Just make sure that the ranges are same i.e. cannot be 'Auto'.