charts

How to install phpChart lite library?

匆匆过客 提交于 2020-01-06 14:40:34
问题 I'm running Ubuntu with LAMPP and I do not really understand how set up the library. When I run an example, I get this error: Warning: require_once(/opt/lampp/htdocs//phpChart_Lite//conf.php): failed to open stream: No existe el archivo o el directorio in /opt/lampp/htdocs/simulacion_tecnodi/phpChart_Lite/server/cls_conf.php(1) : eval()'d code on line 1 Fatal error: require_once(): Failed opening required '/opt/lampp/htdocs//phpChart_Lite//conf.php' (include_path='.:/opt/lampp/lib/php') in

How to install phpChart lite library?

 ̄綄美尐妖づ 提交于 2020-01-06 14:40:15
问题 I'm running Ubuntu with LAMPP and I do not really understand how set up the library. When I run an example, I get this error: Warning: require_once(/opt/lampp/htdocs//phpChart_Lite//conf.php): failed to open stream: No existe el archivo o el directorio in /opt/lampp/htdocs/simulacion_tecnodi/phpChart_Lite/server/cls_conf.php(1) : eval()'d code on line 1 Fatal error: require_once(): Failed opening required '/opt/lampp/htdocs//phpChart_Lite//conf.php' (include_path='.:/opt/lampp/lib/php') in

HTML problems drawing bar charts

核能气质少年 提交于 2020-01-06 14:13:06
问题 I'm trying to make a script that display into a bar chart statistics from a database. To do that I thought in draw one bar over another with diffent colours, so the result is a 2 coloured bar, that can display two values at the same time, in my case a number of mistakes over from a total of tries. Then I would like to display in a row several of this 2 coloured bars. But the problem is with the script I wrote, all bars appear one over another, instead of side by side. Could anyone tellme what

HTML problems drawing bar charts

ぃ、小莉子 提交于 2020-01-06 14:13:06
问题 I'm trying to make a script that display into a bar chart statistics from a database. To do that I thought in draw one bar over another with diffent colours, so the result is a 2 coloured bar, that can display two values at the same time, in my case a number of mistakes over from a total of tries. Then I would like to display in a row several of this 2 coloured bars. But the problem is with the script I wrote, all bars appear one over another, instead of side by side. Could anyone tellme what

Where does graphael (line chart) calculates it's maximum value?

爷,独闯天下 提交于 2020-01-06 13:55:13
问题 I am facing a very serious bug using graphael. Therefore, I want to change the procedure it uses to calculate the maximum value for the y axis. However, It's way to confusing for me, and I cannot find it. Can anyone help me to change that procedure? 回答1: Sorry, I don't have any experience with gRaphael, but since no one else has answered, I might be able to help you somewhat... The code for gRaphael's LineChart is located here. Normally, I would suggest overriding the function that calculates

VBA Word: Change Data of charts

余生颓废 提交于 2020-01-06 09:04:33
问题 I want to change the data of a chart in a Word Document, but I can't find the right way to address my charts. I tried several techniques, but nothing worked. (I´d love to open a ExcelSheet in which I can just change the Data) So to put it all together: I want to change the data (not the source), of a MS Word chart, which looks like that: Edit(13.8.): After request, I try to give you some "reference Code" to work with. Sub ChangeChart() Dim aktDocument As Document Dim chrt As Chart Dim

How to show asp.net chart grouped by 2 parameters

主宰稳场 提交于 2020-01-06 08:46:08
问题 I want to present some condensed data to the user using the Chart component. SQL (C# / Oracle): SELECT c.date, c.approved, count(distinct c.f1) amt_c, count(b.f1) amt_b, sum(b.value) sum_values FROM contracts c JOIN bens b ON c.ben_id = b.id WHERE :YearMonth = to_char(c.date,'YYYYMM') AND NOT c.approved = 'REJECTED' GROUP BY c.date, c.approved ORDER BY c.date I have this SQL in a method that passes a DataSet to the ObjectDataSource in the .aspx page (The approved field can have 3 values:

How to remove gaps in C3 timeseries chart?

最后都变了- 提交于 2020-01-06 07:23:28
问题 I have a timeseries chart created with C3. The chart has time gaps in the data, and this is very noticeable with a bar chart. Is it possible to remove the gaps? I render the chart as shown below. Notice how there's a gap between 2013-01-03 and 2013-01-06 var chart = c3.generate({ data: { x: 'x', type: 'bar', columns: [ ['x', '2013-01-01', '2013-01-02', '2013-01-03', '2013-01-06', '2013-01-07', '2013-01-08'], ['data1', 30, 200, 100, 400, 150, 250] ] }, axis: { x: { type: 'timeseries', tick: {

Zooming in using Mouse Wheel

青春壹個敷衍的年華 提交于 2020-01-06 07:15:19
问题 So I have a graph, sometimes this graph goes up to 1000 in terms of the Y values and its far too hard to see individual points/axes interceptions. This will allow me to click and drag an area to zoom in, however this ruins the X and Y values/intervals and also adds scrollbars to the graph which I do not want! Chart1.ChartAreas(0).CursorX.IsUserSelectionEnabled = True Chart1.ChartAreas(0).CursorY.IsUserSelectionEnabled = True Is there a way to implement this using the mouse wheel and click to

Excel macro to create line chart excluding columns in between

混江龙づ霸主 提交于 2020-01-06 07:00:46
问题 I want to create line chart in excel macro. I have below table in excel. First Line Chart contains range of values from Cell A and B. Second Line Chart contains range of values from Cell A and C. Third Line Chart contains range of values from Cell A and D. ActiveSheet.Shapes.AddChart.Select ActiveChart.SetSourceData Source:=Range("A1:D3") ActiveChart.ApplyDataLabels ActiveChart.ChartType = xlLine Above code produces only one Line Chart for range A1 to D4. 回答1: This is a good question that the