HighCharts : Is it possible to customize the colors of individual series?

Options can be set separately for each series. var chart = new Highcharts.Chart({ chart: { renderTo: ‘container’ }, xAxis: { type: ‘datetime’ }, series: [{ name: ‘John’, color: ‘#0066FF’, dashStyle: ‘ShortDash’, data: [ [Date.UTC(2010, 0, 1), 29.9], [Date.UTC(2010, 2, 1), 71.5], [Date.UTC(2010, 3, 1), 106.4] ] },{ name: ‘Mary’, color: ‘#FF0000’, data: [ [Date.UTC(2010, 0, … Read more

Iterative DFS vs Recursive DFS and different elements order

Both are valid DFS algorithms. A DFS does not specify which node you see first. It is not important because the order between edges is not defined [remember: edges are a set usually]. The difference is due to the way you handle each node’s children. In the iterative approach: You first insert all the elements … Read more

Is Minimum Spanning Tree afraid of negative weights?

Yes, you are right. The concept of MST allows weights of an arbitrary sign. The two most popular algorithms for finding MST (Kruskal’s and Prim’s) work fine with negative edges. Actually, you can just add a big positive constant to all the edges of your graph, making all the edges positive. The MST (as a … Read more

Is there an interactive graphing library for python

Looks like Nodebox might be what you want: http://nodebox.net/code/index.php/Graph Mac OSX http://www.cityinabottle.org/nodebox/ Windows (using OpenGL) The graph object has functionality for mouse interaction as well, bundled in the graph.events object. It has the following properties: graph.events.hovered: None or the node over which the mouse hovers. graph.events.pressed: None or the node on which the mouse is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)