Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

85
Vistas
How to integrate metricsgraphicsjs in aspx .Net file

I am updating an old .aspx webpage witch renders time-series area charts. The page uses JS library Timeplot which is outdated and I am looking for a new JS library to render the charts.

I have come across this JS library metricsgraphicsjs. But I am unable to render the chart into the .aspx page. For testing, I am using one of their code examples. Below is the code I am using.

<script type="text/javascript" src="MetricsGraphics/dist/bundle.js"></script>
<script src="https://d3js.org/d3.v7.min.js"></script> 

<script type="text/javascript">
    d3.json('js/data/research.json', function (data) {
        data = MG.convert.date(data, 'date');
        MG.data_graphic({
            title: "Line Chart",
            description: "This is a simple line chart. You can remove the area portion by adding area: false to the arguments list.",
            data: data,
            width: 600,
            height: 200,
            right: 40,
            target: document.getElementById('myArea-timeplot'),
            x_accessor: 'date',
            y_accessor: 'value'
        });
    });
    </script>

<div id="myArea-timeplot" style="height: 450px; margin-left: 1em; margin-bottom: 4em; width: 850px;"></div>

What I am missing? Does this library work on .Net?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda