I'm fairly new to Power BI so apologies if this has been answered or is obvious.
I have a scatterplot with two variables:
X: An ordinal variable which I have coded as continuous (0,1,2,3,4) in order to be able to display it on the scatter chart
Y: A continuous variable ranging from 1 - 180
While the data displays fine, on the X axis, I would like to display the original ordinal variables, instead of the newly-coded continuous variable. I know in other software there is the function to edit axes labels but I could not find it in PowerBI. Does anyone know a solution or workaround to this problem? Thank you!
I tried the Format Visual Pane and other settings. I also tried plotting the values as ordinal but PowerBI wouldn't allow for ordinal variables to be plotted on a scatter plot.
I am new to PowerBI so sorry in advance. I would like to reproduce the plot below (created in Tableau) in PowerBI.
I need the two plots to be sorted by the values of the first one.
In PowerBI I can generate two such plots, but I do not manage to use the values of the first plot to sort the second one.
How can I do that?
Plot with an x-axis that is shared by two bar chart plots
I can't figure out why Google Charts draws this simple chart aligned to center and doesn't fill entire white area.
Note: X axis is discrete because it represents weeks.
Do you have any idea what can I do with it?
That is how the charts display when you use a discrete (string) axis. If you want edge-to-edge lines, you need to use a continuous (number, date, datetime, timeofday) axis. See an example of the differences here: http://jsfiddle.net/asgallant/Xfx3h/.
Is it possible to create simple chart using wxFreeChart with Y-axis labelled with double values and X-axis labelled with string values? Which type of chart and dataset should I use? I tried to use XYDynamicSerie and I like it, but it can mess with pair double-double.
I'm an author of wxFreeChart.
Charts, where one axis has string values use CategoryDataset.
Line charts, with CategoryDataset are not supported. Only bar charts (BarPlot).
Is there a way to display multiple charts on the same image using Google Charts api?
To elaborate:
I have one data series which I want to display as bar chart.
I have another data set which has nothing to do with the first one (well they are correlated but the values are hundred times bigger).
X-axis is for dates.
I want to have second data set displayed as line chart with Y-axis on the left.
I found something similar in "Compound charts" section but as far as I understand markers are calculated based on already displayed data set - and I want to have them independent.
In other words - is it possible to make image like this:
http://chart.apis.google.com/chart?cht=bvg&chm=D,0033FF,1,0,5,1&chs=200x150&chd=t1:30,10,20|60,40,50&chxt=y
but with the line being independent and their values axis being on the right.
I'm sorry I'm not familiar with the terminology - I'm sure there is a name for what I'm trying to achieve.
Thanks!
Only 2 years behind the curve but just to let you know that I have achieved your objective of displaying 2 datasets (one a bar chart, the other a line chart) against 2 different axis scales.
The devil is in the scaling parameter &chds and explicit axis values using &chxr. Essentially, I defined the explicit scales for the x-axis, y-axis and r-axis. and then instructed the scaling parameter to scale each dataset differently.
So for an r dataset between 0 - 10 and a y dataset between 0-2 I would write;
&chds=0,2,0,10 (y then r defined in my axis parameter, i.e. &chxt=y,r)
...and...
&chxr=0,0,2|1,0,10
Let me know if you need more detail!
I've looked into something similar to this before and have used the google chart API a lot. I'm 90% sure the answer is no. Sry :(
Yep it is possible.
Here is an example of two datasets displayed on the same axes. 1 is a bar chart the other is a line graph....
This line - chd=t1:95,1,1,3,10,3,77|95,52,44,24,11,2,1 - allows for the two datasets.
slothistype