charts

Using 2 different data to show in chart laravel

一笑奈何 提交于 2019-12-24 01:05:03
问题 I am currently using chartTV to create a chart but my chart doesn't seem to appear inside my blade for some reason, the title can be seen but not the graph. I want to create an areaspline chart where it will show number of people hired and not hired this week. I tried doing something like this but it not working. Can someone guide me in doing it correctly? How should I do it? My dashboardController : $user1s = DB::table('evaluations') ->select('evaluations.Evaluation_Status','evaluations

JavaFX Chart - Java.lang.IllegalArgumentException : Duplicate series added

混江龙づ霸主 提交于 2019-12-24 00:57:43
问题 I'm using clear() method for removing data from chart. @FXML public void restartButtonClicked() { System.out.println("Restarting..."); timeLine.getKeyFrames().clear(); axesTest.getData().clear(); } In this function, but once button get clicked - it works.. but second time while I am gonna click it, it throw exception : Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: Duplicate series added at javafx.scene.chart.XYChart.lambda$new$550(Unknown Source) at com

Chart js: how can I align the legend and the title

跟風遠走 提交于 2019-12-24 00:56:09
问题 I want to align the orders to the left and the legends to center center. I've tried doing title:{ display:true, fontSize:18, text: "Products", titleAlign:'left' } but textalign doesn't seem to work for me nor the horizontal 回答1: Check the Chart.js docs, there is no options like titleAlign, see: https://www.chartjs.org/docs/latest/configuration/title.html. It should be in the future, there is an pull request for that: https://github.com/chartjs/Chart.js/pull/5866 . There is an option to do

Multiplot and change line color depending on column value in Zingchart

老子叫甜甜 提交于 2019-12-24 00:56:05
问题 Background information: I want to port a gnuplot graph to Zingchart. I include the gnuplot source to better explain my objective: reset set autoscale set term canvas rounded solid butt size 1000,600 enhanced fsize 10 mousing lw 1 fontscale 1 jsdir "/home/eballes/Work/js" set output 'html/data.html' set grid set yr [0:39] set title 'State' set xdata time set xlabel "Time" set ylabel "Element ID" set timefmt "%s" set format x "%d %H:%M" set pointsize .25 set palette model RGB maxcolors 7 set

APEX 5: How to edit dynamically chart xml?

前提是你 提交于 2019-12-24 00:46:44
问题 I am building an Apex Application with a couple of charts (html rendered barchart from the wizard). Now, I have to include two important features. Change the colour of the bars depending on the value and include some labels on top or after the bars. I know that this can be achieved by setting the option "Custom xml" to YES and editing the xml. The problem is that I have not been able to edit this dynamically. I have tried to execute a function in the xml area, but it gets interpreted as a

How to add a label on pie chart from flutter?

喜欢而已 提交于 2019-12-24 00:30:05
问题 I wanna users see more information in pie chart (example percent of data, shown in the chart below). My code is used show pie chart, i tried some function like displayName , labelAccessorFn in charts.Series but seem label still down show for me @override Widget build(BuildContext context) { return new charts.PieChart(seriesList, animate: animate, defaultRenderer: new charts.ArcRendererConfig(arcWidth: 60)); } new charts.Series<LinearSales, int>( id: 'Sales', domainFn: (LinearSales sales, _) =

Excel VBA only show labels for each series' max value

帅比萌擦擦* 提交于 2019-12-24 00:17:09
问题 I am trying to create a macro which loops through series in a chart and only shows the maximum / minimum label dependent on what the max / min value is. Some of the series will only have negative values and in these cases I wish to only show the minimum datapoint label, and vice versa for series with 0 or greater values. The code I have so far is: Sheets("Curve").ChartObjects("Chart 14").Activate For Each serie In ActiveChart.SeriesCollection Dim pointCount As Integer Dim pointValues As

Silverlight Toolkit Chart: Assign Hyperlink to Axis

喜你入骨 提交于 2019-12-24 00:03:41
问题 I have a simple Silverlight Toolkit Chart which is bound to a collection of the following type: public class ChartItemClass { public string Name { get; set; } public double Value { get; set; } public string Url { get; set; } } I can get a Chart to display the Name (X-axis) and Value (Y-axis) correctly, but I would like the labels on the X-axis to be HyperlinkButtons to the Url property. The X-axis label should be something like the following: <HyperlinkButton Content="*Name Property Here*"

GGPlot for OHLC chart using bars, not candles

依然范特西╮ 提交于 2019-12-23 23:49:59
问题 I am studying ggplot in R and am trying to create a stock chart. I have already been able to create a candlestick chart, now I want to make a bar chart. This consists of a vertical line from the low price to the high price. Then, on the left of the line is tick for the opening price and on the right is a tick for the closing price. I don't know how to add this tick. The closest thing I can think of is geom_errorbar, but that is something else entirely and the whiskers go both ways. Also,

Show durations in an ASP.NET Bar Chart

浪尽此生 提交于 2019-12-23 23:18:07
问题 I have an app in which I'm using the included ASP.NET Chart controls. In one of my charts, I need to show a Bar chart with durations. The durations are stored as TimeSpan objects as shown here: List<TimeSpan> durations = GetDurations(); // Will be between 15 minutes and 6 hours List<string> labels = GetLabels(); ... chart.Series["Default"].Points.DataBindXY(xValues, durations); When I execute this, an Exception is thrown that says: Series data points do not support values of type System