Chart not showing when using Vue-chart js in SharePoint

I have a SharePoint list and I’m trying to visualize the data using Vue-chartjs. When I do so, all I get is a canvas with a grid and not chart being rendered. Any ideas? Any help would be much appreciated. Below is my code: HTML

    <v-content>       <v-container class="grey lighten-5" fluid>         <v-row dense>           <v-col cols="sm">             <v-card class="pa-2" outlined tile raised>               <my-line-chart :line-data="ChartConfig" :chart-options="options"></my-line-chart>             </v-card>           </v-col>           <v-col cols="sm">             <v-card class="pa-2" outlined tile raised>               <my-bar-chart :bar-data="ChartConfig" :chart-options="options"></my-bar-chart>             </v-card>           </v-col>         </v-row>       </v-container>     </v-content> 

JS (Line chart component)

Vue.component('my-line-chart', {     extends: VueChartJs.Line,     props: ['lineData', 'chartOptions'],     mounted: function () {         this.renderChart(this.lineData, this.chartOptions);     } }) 

JS (Bar chart component)

Vue.component('my-bar-chart', {     extends: VueChartJs.Bar,     props: ['barData', 'chartOptions'],     mounted: function () {         this.renderChart(this.barData, this.chartOptions);     } }) 

JS (Vue instance)

new Vue({   el: "#app",   vuetify: new Vuetify(),   data: {     ChartConfig: {       labels: [],       datasets: [         {           data: [],           backgroundColor: '#3498db',           borderColor: 'rgba(136,136,136,0.5)',           label: "2013"         }       ]     },     options: {       responsive: true,       maintainAspectRatio: false,       title: {         display: true,         text: 'Chart.js Line Chart'       },       tooltips: {         mode: 'index',         intersect: false,       },       hover: {         mode: 'nearest',         intersect: true       },       scales: {         xAxes: [{           display: true,           categoryPercentage: 0.5,           scaleLabel: {             display: true,             labelString: 'Month'           }         }],         yAxes: [{           display: true,           scaleLabel: {             display: true,             labelString: 'Value'           }         }]       }     },     iceCream: [],     drawer: false   },   created: function () {     this.getListData();   },   methods: {     getListData: function () {       var endPointUrl = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbyTitle('popular ice cream')/items";        this.status = "getting data...";       var that = this;       axios.get(endPointUrl).then(function (response) {         that.getChartData(response.data.value);       })         .catch(function (error) {           console.log(error);         })     },     getChartData: function (chartData) {       console.log(chartData);       for (var i = 0; i < chartData.length; i++) {         this.ChartConfig.labels.push(chartData[i].Flavor)       }        for (var i = 0; i < chartData.length; i++) {         this.ChartConfig.datasets[0].data.push(chartData[i].Vote)       }     }   } });   

Provide You Technical Indicator For Chart Pattern for $10

Forex trading involves dealing in international currencies, basically selling the currency of one country to buy that of another. The trader deals in Foreign Exchange [Forex] at the most appropriate time to profit from the transaction. Good ability to forecast plays a vital role here. Anyone who wants to deal in Forex can do so, since only the basic knowledge is required for it. You will get the help you need for attaining this knowledge. Liquidity is another reason why Forex trading is so popular. You can deal in foreign currencies right from your home. In fact, it is fully conducted online. You have the liberty to choose when you want to trade. Basically, you can be your own boss, because the process of online trading is fairly simple for anyone to understand. This gig includes an exclusive no-fluff book-size special report from me, a Rapid Skill Acquisition expert and best-selling author. I help people learn new things fast. If you don’t believe me, just check out my other gig “I will teach you how to learn anything faster than normal.” You will be amazed once you get the real 80 TO 90% Positive result with “ANS” Indicators & Strategy which will turns your Losing Trade also to a sweet Winning , How it possible !? (I will let you know) I am Earning enough I don’t need this little amount as I directed to a Donation account so it means it’s Free from my side. THIS IS A COMBINATION OF INDICATORS FOR (MT4) WHICH I CHOSEN FROM THE EXPERT TRADERS WHICH I SPEND A LOT OF TIME & MONEY FOR EACH OF THEM TILL I REACHED TO THIS BEAUTIFUL RESULTS. There are 90% people losing money on Binary Option or Forex trades as they don’t know why. I am Earning enough I don’t need this little amount as I directed to a Donation account so it means it’s Free from my side.You are not required to open any new account so you can use any broker you like.

by: hamzaco98
Created: —
Category: Other
Viewed: 185


Nativescript chart. ¿Como graficar con horas como valor de entrada?

La pregunta es sencilla, quiero graficar con horas como valor de entrada

Poseo un query el cual retorna un valor timestamp dentro de un Json-Array, algo como esto

Resultado

[{"date": "28-09", "hour":"2001-09-28 01:00:00"}, {"date": "27-09", "hour":"2001-09-27 01:30:00"}, {"date": "26-09", "hour":"2001-09-26 02:00:00"}, {"date": "25-09", "hour":"2001-09-25 02:30:00"}, {"date": "24-09", "hour":"2001-09-24 01:00:00"}]` 

Y poseo LineSeries para graficar, algo como esto

<RadCartesianChart tkExampleTitle tkToggleNavButton>             <CategoricalAxis tkCartesianHorizontalAxis></CategoricalAxis>             <LinearAxis tkCartesianVerticalAxis allowPan="false" allowZoom="false"></LinearAxis>             <LineSeries tkCartesianSeries selectionMode="DataPointMultiple" showLabels="true"                  [items]="getchartDistance" valueProperty="hour" categoryProperty="date">                 <PointLabelStyle tkLineLabelStyle fontStyle="Bold" fillColor="#FC6060" textSize="12"                     textColor="White"></PointLabelStyle>             </LineSeries>              <RadCartesianChartGrid tkCartesianGrid horizontalLinesVisible="true" verticalLinesVisible="false"                 verticalStripLinesVisible="false" horizontalStripLinesVisible="true"                 horizontalStrokeColor="#e5e5e5">             </RadCartesianChartGrid>         </RadCartesianChart> 

Mi duda es que no se que colocar en valueProperty para ser capaz de graficar la hora en un formato de 12h o 24h

He pensado en algunas soluciones y sus posibles problemas (Aunque aún no se como aplicarlas):

  1. Primera Solución

    Crear un campo adicional en PostgreSQL el cual contenga la hora tipo militar y convertirla a un tipo numerico, luego colocar el valor obtenido en valueProperty y enmascar ese valor numerico con un string. Es decir si el valor numérico es 0800, enmascarlarlo para mostrar 08:00

    Problema: No se si soy capaz de enmascar valores en Nativescript chart, y de ser capaz, no se si solo se mostraran los valores enmascarados o otros valores numéricos y no solo los enmascarados

  2. Second Solution

    Usar DateTimeContinuousAxis

    Problema: Desconozco como usar, y creo según entendí en su documentación que solo sirve para colocar valores tipo DATE en categoryProperty especificando un intervalo.

Si alguien puede ayudarme, agradeceré enormemente su apoyo

Organization Chart in Sharepoint Online

I am new to O365 Sharepoint Online.I need to add an organisation chart to my homepage. I am trying to look into some solutions, but all solutions are 3rd party and not microsoft provided as it used to had in Sharepoint 2013 called Organsation Browser in Social Collaboration category. Please let me know if we can add organisation chart in Sharepoint Online.

Regards

How can I use the Quick Chart Web Part with data from a Document Library?

I would like to use the Quick Chart Web Part with data from a Document Library not a list.

When I try to place a Quick Chart Web Part onto my page it only seems to be able to connect to a LIST or for values to be manually input.

I wish for the content to be taken from certain documents, tagged as Process Maps in my library and using column values from a column called FPMO

Need Help with a Powerapps Chart

I am new to powerapps. I just want to create a pie chart or bar chart in PowerApps that is linked to a sharepoint list column called status that will count the number of times the following records occur.

Under Review
Hold
Submitted
Not Started
In Progress/On track
Will Not Implement
Complete

I have looked everywhere and I can’t make it work. Can anyone please help?

Sharepoint online chart using library data not list data

Is it possible to generate a chart webpart that will show data from a sharepoint document library as opposed to a list.

I have over 2000 documents in a library and would like to generate a webpart chart that would show some type of summary of the content. Eg. Total number of files by type. I know that the quick chart feature can be pointed to lists but how can I get something similarly for my document library?

Sharepoint online chart using library data not list data

Is it possible to generate a chart webpart that will show data from a sharepoint document library as opposed to a list.

I have over 2000 documents in a library and would like to generate a webpart chart that would show some type of summary of the content. Eg. Total number of files by type. I know that the quick chart feature can be pointed to lists but how can I get something similarly for my document library?

Algorithm Chart for Tournament

Can some one make me a CHART that shows 90% payback for paying out every 1 in 5 people with a $ 40.00 entry fee that goes up to 60 people? so payouts would be any where from 1 payout for 5 entries 2 payouts for 10 entries 3 payouts for 15 entries etc… so basically for paying up to 12 places ? Please help my brain is fried!!