charts

Creating 2 charts show 2 different data in one graph (asp.net MVC)

被刻印的时光 ゝ 提交于 2019-12-25 12:25:58
问题 Hello I know it might sound confusing but I hope I can get help .... Well I'm working on asp.net mvc using MYSQL for database , and what I'm trying to make is a 2 charts show 2 different data in one graph something like this so in my controller I tried to return both but it shows one chart only ... The controller : public class BartestController : Controller { public static List<string> getChartData() { var returnData = new List<string>(); var Con = new MySqlConnection(System.Configuration

Which elasticsearch aggregations should I use?

喜夏-厌秋 提交于 2019-12-25 11:58:46
问题 I need to create a bar chart of "number of active users by date". An active user means the user who has logged in last 7 days. so I need to count total number of users, whose last_activity date is within 7 last days. and I need to do it for each bar(day) in my chart. I understand it needs to be done using aggregations elastic search, but unsure which aggregations should I use? bucket aggregations, pipeline aggregations? Please let me know if you know a similar example of it. Here you can find

c# chart axis not displaying when form is loaded

ε祈祈猫儿з 提交于 2019-12-25 11:52:59
问题 For some reason the axis and grid is not being displayed on the c# chart. as you can see from the two pictures, the background of the chart is being displayed, but nothing else is. Can anyone help me figure out why the grid and information from the chart is not being displayed? The form from designer in visual studio: The form at runtime: namespace Harman.Generic.Framework.WaveformMaker { partial class WaveformMaker { /// <summary> /// Required designer variable. /// </summary> private System

c# chart axis not displaying when form is loaded

你离开我真会死。 提交于 2019-12-25 11:52:11
问题 For some reason the axis and grid is not being displayed on the c# chart. as you can see from the two pictures, the background of the chart is being displayed, but nothing else is. Can anyone help me figure out why the grid and information from the chart is not being displayed? The form from designer in visual studio: The form at runtime: namespace Harman.Generic.Framework.WaveformMaker { partial class WaveformMaker { /// <summary> /// Required designer variable. /// </summary> private System

How to make the color in bar chart of Highstock look like in candlestick chart?

有些话、适合烂在心里 提交于 2019-12-25 09:54:07
问题 Can volume chart's color same as the candlestick's color above? I tried give a color list in series with the colors: ['red', 'red', 'green', ...] colorByPoint: true Highstock source code: init: function (series, options, x) { var point = this, colors; point.series = series; point.color = series.color; // #3445 point.applyOptions(options, x); point.pointAttr = {}; if (series.options.colorByPoint) { colors = series.options.colors || series.chart.options.colors; point.color = point.color ||

Declare a function inside another function

早过忘川 提交于 2019-12-25 09:50:30
问题 i have this function: charCtrl.loadDataFromToMonth= function (from,to,year) { var url = servername+'admin/dashboard/getIncidentDepartByMonthFromTo/'+from+'/'+to+'/'+year; //alert(url); function onSuccess(response) { console.log("+++++getIncidentDepartByMonthFromTo SUCCESS++++++"); if (response.data.success != false) { $scope.payloadgetIncidentDepartByMonthFromTo = response.data.data; var getIncidentDepartByMonthFromTo= $scope.payloadgetIncidentDepartByMonthFromTo; // alert('dddd'+JSON

The process cannot access the file error with System.Web.UI.DataVisualization.Charting

时光毁灭记忆、已成空白 提交于 2019-12-25 09:41:08
问题 I use charts from System.Web.DataVisualization. <%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %> ... <asp:Chart ImageType="Png" runat="server" ID="chartStatComp" Palette="BrightPastel" ImageLocation="~/CRM/Reports/chartStatComp_#SEQ(100,10)" ImageStorageMode="UseImageLocation" Width="620" Height="300"> <ChartAreas> <asp:ChartArea Name="MainChartArea">

Flex chart labels way too small, how to resize axis?

江枫思渺然 提交于 2019-12-25 09:26:29
问题 So I have a Flex bar chart that resizes dynamically, and if I have only a few items, the height shrinks and the horizontal axis and label shrink along with it. If the height of the chart is small enough, the label shrink down to practically nothing. How can I enforce a minimum height for the axis itself? Or even a minimum font size for the labels? I've tried setting the font size on the axis renderer and the axis label renderer and Flex still wants to resize the labels how it wants. 回答1: put

Highcharts - navigation by 3rd element in series 'hidden' in plot

这一生的挚爱 提交于 2019-12-25 09:20:46
问题 I have some info which is in this format (speed, frequency, date). What happens is that I need to plot this chart with speed x frequency, but I want to allow the users to use the navigation filtering by the date, which is not appearing on the chart. Also, I have some info which is not built dynamically, which is the limits of speed x frequency. This info will be fixed as reference points on the plot. So, when I filter the plot info (not the limits), it must always display these limit plots.

Chart.js not working properly to draw lines when is only 1 bar

匆匆过客 提交于 2019-12-25 09:06:28
问题 I want to do this chart: As you can see the lines ( Meta and Rango de aceptación ) were drawed like a points. I believe this is because I only have one bar and in another charts I was made with 2 bars I get the lines drawed like a line. This is the code, what I'm doing wrong? <canvas id="myChart2016_5857751099b04" width="500" height="500" style="display: block; width: 500px; height: 500px;"></canvas> <script style="text/javascript"> var ctx2016_5857751099b04 = document.getElementById(