I am trying to implement drag and drop functionality in highcharts. But I am facing 2 problems:
Secondary Y-Axis is not seems to be working, any reason why the line of for Phasing series is showing like this?
How can I show the sum of Phasing series in tooltip while user is dragging, how can I do it in drag event?
Basically only the uplift series is draggable and the sum of all points in that series should be exactly 100.
Since all points have the same calue, Highcharts can't calculate yAxis - set min or max for second yAxis, to give some more information for calculations: http://jsfiddle.net/ZQQpS/9/
Why you want to do it in drag event? Use tooltip.formatter - there loop through all points using this.point.series.data and sum values to display in a tooltip.
Related
I am new user of Tableau and I have a question:
How can I present both the values and the percentage of total in stacked column in tableau?
here is example how it should look like (i know how to do it in excel but not in Tableau):
Just add both values to label. After you compute the percent of total on SUM(Teus) hold down control to make a copy and drag it to Label to explicitly have it displayed. Then drag a new SUM(Teus) from the data pane onto Label as well. Now you will be able to see both values. You can then click on the Label button and then the [...] button if you want to customize how these values are displayed. Side note: you are getting those skinny bars because you have Year as a continuous dimension. Using it as a discrete dimension will give you the thick bars.
I am trying to make a specific form of gantt-chart in Charticulator for display in Power BI. The diagram consists of:
X-axis: Start datetime for the assignment
Y-axis: group member
Width of mark: Number of minutes assignment is estimated for
Color of mark: Type of assignment
See example
Here's the problem:
As soon as I tick off the "Allow Scroll" for X-axis, all data marks disappears, and the settings for the axis changes to seemingly only have data for one day. The glyph also becomes blank with the text "to edit this glyph please add a plot segment to it", even though I just had a plot segment before selecting "Add scroll". This is only a problem for data with datetime, not if I change it to a string, which unfortunately would create other issues.
Before adding scroll
After adding scroll
Does anyone have a fix to create a x-axis with datetime with scroll?
I am trying to create a dashboard with multiple area charts on the same page. I have two issues.
I want to get rid of the small circle on the chart that indicates value point and moves along with the cursor and the interactiveguideline. What is the name of that circle and how do I remove it?
After some research, I figured out how to change the Y-axis values to percentages. But I would like some graphs to show percentages and others to show regular numbers. Is there an easy way to do this?
I'm using graph view in my project and got it working just fine. However I don't like the x-axis values. The values I'm passing are 0,0.5,1,1.5,2,2.5...all the way to 23.5. I would like the graph to show every x-axis value on the grid and not rounded values of 0,3.4,6.9,10.3, 13.7 etc. Is there a way to force it to not round and use the x values provided?
the labels are have fix positions and shows the exact value at this point. It seems, that you want to have the another count of labels or other positions. In the current GraphView version you can set set count of labels. When you configure it in the correct way, you should see labels in 0.5-steps.
Have a look at GraphViewStyle#setNumHorizontalLabels
I am trying to set custom step (interval) to my Line Chart's horizontal axis.
The chart gets its data from a grid. The grid has a lot of data and it is displayed accurately but because there are so many data points the horizontal axis is screwed up. I wanted to set a step on horizontal axis so that you get an idea when you see the graph without hovering the mouse on a data point!
thanks for any help!
-Ali
Flexi Comment Box
heylo people!
I have solved the mystery!!!
just add a horrizontalAxisRenderers to your Chart
and set the property canDropLabels to true!
<mx:horizontalAxisRenderers>
<mx:AxisRenderer axis="{horiAxis_B}" canDropLabels="true"/>
</mx:horizontalAxisRenderers>
axis being the name of the axis
you are done!!
but if you still have questions, you can always contact me here:
Alimsyed.com