Grouping rows to collapse/xxpand Highcharts Gantt resources - highcharts

I need to make a mix between the 2 Gantt charts presented on the Highcharts site :
the Gantt Project Management and the Gantt Resource Management.
My need is to be able to group the different resources on the Gantt Resource Management to be able to collapse/expand the nodes as in the Gantt Project Management.
I tried to do this in a jsfiddle here : https://jsfiddle.net/vegaelce/qz2mLeo1/
I have the group to collapse/expand but one line per resource assignement (I expect only one line for the Jaguar and one line for the Peugeot).
When I try to add a Y axis category, I have one line by resource but I loose the group to collapse/expand... (demo here : https://jsfiddle.net/vegaelce/ekf3gzja/)
yAxis: {
type: "category",
}
How to organize my series to get this feature ?

Some hack because this property is preparing for axis type category, but when you add yAxis.uniqueNames you can collapse the task and show these with the same name and different id as your requirement.
yAxis: {
uniqueNames: true,
},
Live demo: https://jsfiddle.net/BlackLabel/esq45bz6/

Related

datagrouping integration in highcharts not highstock?

In our API gives data as daily basis(timestamp and value) but we need to display weekly and monthly with rangeselector integration using highcharts not highstock. Please any help me with this.
Highcharts doesn't have implemented the dataGrouping feature. It is available only in Highstock.
However, you can group your data by yourself before chart will be initialized. For example: If you want to process your data to group it, you will need to loop through your daily data, adding each value into a new data array, indexed on month.
To create a custom rangeselector you will need to create two arrays of data - one monthly, second weekly and do an update on particular button.
API: https://api.highcharts.com/class-reference/Highcharts.Chart#update

Highcharts: show multiple days data on same chart making them overlpa each other to comparison

I have a set of N values for each day logged from a webserver (N is not always the same each day, but this is not relevant).
I need to show a comparison chart with values from multiple days, eg:
today (16/01/2017)
yeasterday (15/01/2017)
a month ago (15/12/2016)
To do that, I though about something similar to:
the 3) as 'area chart'
the 2) as 'dotted line chart'
the 1) as 'continue line chart'
This is easy, but now I have a problem: if I declare X axis as 'datetime' obviously the 3 chart series are not 'overlapped' because each one represent a different day along datetime axis.
Instead I need them to overlalp, so user can quickly compare values.
Ho can I do that?
Categorized X axis? Multiple X axes
I prefer to handle this with a single datetime axis, using a common pointStart and poiintInterval for all series (set in the plotOptions).
This plots each series on the same date from a technical standpoint, but with some basic formatting accomplishes the goal of viewing each date along the same time axis.
The benefits to this approach over categories and using multiple axes, IMO, are
Makes full use of the datetime axis type features
Does not require any additional overhead for adding more series - this works just as well with 2 or 20 series
Example fiddles:
http://jsfiddle.net/jlbriggs/b3t7ueam/ (two dates)
http://jsfiddle.net/jlbriggs/hbfap864/ (many dates)
Example Output:

ASP Chart Line Theme

I'm using chart helper on an mvc project but the line chart looks weird or doesn't looks like i want. I've been searching about this subject and the only thing I can find its the charttheme but only one example with series. I'm including this, which is the only example i found about series on chart theme.
Series Name="Default" Template="All" BorderWidth="3" IsValueShownAsLabel="True"
I want to put this dot on the values instead of the numbers. I think the solution must be on "series" because the chart helper doesn't has many options but I can't find what other properties this series has. I have 2 images to upload but I can't because I need more reputation, I will try to update this if I get the reputation needed.

Can I create a separate curve for sub-tasks in a Burndown chart?

I would like to know if it is possible to create a separate curve for sub-tasks in the Hour Burndown chart. So we will have two curves in the chart - one for the standard issue types and the other just for their sub-tasks?
Is this possible? If yes, how can I set this up?
Answer from Matthew Cobby on the Atlassian forums:
You can do it via Contexts in GreenHopper which you can use to produce
different graphs with different sets of data
Go to your chart board
Select the project then select the drop down to the right of the project name, it will probably say Default of On-the-fly.
Select New & you will get a popup for a new context which can be based on an existing filter (subtasks JQL: issuetype in
subTaskIssueTypes()) or by selecting different fields to filter by.
(standard issuetypes JQL: issuetype in standardIssueTypes())
Create a context based on sub-tasks only and one based on standardIssueTypes.
Look at your lovely charts based on two different sets of data.
Here's the documentation: http://confluence.atlassian.com/display/GH/Using+Contexts+to+Filter+and+Highlight+Issues

Highcharts on Rails 3

I am quite new to Rails, and I need to work on a report generating plugin using Rails and Highcharts for the output. My main issue is that my user is meant to be able to define a time range using a jQuery datepicker. How can I get the highcharts graph on the x axis to reflect the time range based on the users selection, and how do I tie it to the other fields in the rails model.
Eg. If I have a table with a created_by field which the user is supposed to pick his to and from dates from... and the table also has user_id and the users select a specific language for each application. I want the graph to show for each day the count of the different languages different users selected during their application.
Hope my question is clear enough. Thanks
You should look at: http://railscasts.com/episodes/223-charts

Resources