Giter VIP home page Giter VIP logo

tools's People

Contributors

amcharts avatar k1r8r0wn avatar knakada avatar maertz avatar martynasma avatar pauan avatar silbad avatar va2dos avatar xorspark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tools's Issues

Issue with many charts one page

Hello! I have a new problem. I use jQuery EasyUI for create many tabs. I dynamically create charts in tabs. (This example contents 3 tabs with charts, but in my project I create very many tabs)
All tabs contents serial Amchart. I use autoOffsetAxis, but tool works not correct. Last chart in third tab correctly positione offset, but first and second not work :(
http://codepen.io/shumakosik/pen/qrovgL
ValueAxes starts works fine when you click at legend for "off/on" graph after initialization chart.
May you help me?
Thanks.

addGraph to polarScatter

Hi, I'm trying to add a graph dynamically to a polarScatter radar chart and I don't know how to load the series array properly. Doing it in this way doesn't work:

var graph = new AmCharts.AmGraph();
graph.lineColor = "#FFCC00";
graph.fillAlphas = 0.4;
graph.bullet = "triangleUp";
graph.bulletSize = 15;
graph.series = [[-93,0.05]];
chart.addGraph(graph);
chart.validateData();

Is it possible?

Thanks!

Update for v4

Hello, is there a plan to update the tool to work with the amcharts4?

[smoothCustomBullets] Don't work with multiple graphs

Hello,
I have an issue with several graphs

"graphs": [ { "valueAxis": "v1", "balloonText": "[[title]] : <b>[[value]] km</b>", "fillAlphas": 0.9, "lineAlpha": 0.2, "lineColor": "#b3dfe2", "type": "column", "valueField": "Value1" }, { "valueAxis": "v2", "balloonText": "[[title]] : <b>[[value]]h</b>", "fillAlphas": 0.9, "lineAlpha": 0.2, "lineColor": "#45b9bf", "type": "column", "clustered": false, "columnWidth": 0.5, "valueField": "Value2" }, { "valueAxis": "v3", "balloonText": "[[title]] : <b>[[value]]</b>", "fillAlphas": 0, "lineAlpha": 0.6, "lineColor": "#5d5b5e", "valueField": "Value3", "bullet": "round", "customBulletField": "PhotoUrl", "bulletSize": 40, "bulletOffset": 18, "labelPosition": "right", "labelText": "[[value]]" } ],
=> dataPoint is undefined
With just one graph, it's ok ;)
Thanks

autoOffsetAxis Adding/Changing value axes results in offset resetting to 0

If you change or add value axes and call chart.validateNow() the offset defaults to original values and is not corrected by autoOffset plugin.

To reproduce, please append the following lines to the JS at this codepen http://codepen.io/amcharts/pen/4130820114230f81677ba52fb260a53d after a timeout of 5 seconds you can see that offsets of all 3 axes are 0.

setTimeout(function(){
  console.log('validating now')
  chart.valueAxes = [{
    "id": "v1",
    "axisColor": "#FF6600",
    "axisThickness": 2,
    "gridAlpha": 0,
    "axisAlpha": 1,
    "position": "left",
    "tickLength":0,
    "autoOffset": true
  }, {
    "id": "v2",
    "axisColor": "#FCD202",
    "axisThickness": 2,
    "gridAlpha": 0,
    "axisAlpha": 1,
    "position": "left",
    "tickLength":0,
    "autoOffset": true
  }, {
    "id": "v3",
    "axisColor": "#B0DE09",
    "axisThickness": 2,
    "gridAlpha": 0,
    "axisAlpha": 1,
    "tickLength":0,
    "position": "left",
    "autoOffset": true
  }];
  chart.validateNow()
}, 5000)

[autoGuides] End date and start date are computed wrong for each guide

The weekend guides are not computed correctly. The problem seems to appear from this pice of code:

      // calculate beginning and end of day
      var start = new Date( date );
      start.setHours( 0, 0, 0 );
      var end = new Date( date );
      start.setHours( 23, 59, 59 );

it should be like:

      // calculate beginning and end of day
      var start = new Date( date );
      start.setHours( 0, 0, 0 );
      var end = new Date( date );
      end.setHours( 23, 59, 59 );

Package manager

I am trying to use bestFitLine in my project that imports scripts through bower and npm.

Are these tools available in a package manager like those, or would you consider publishing them in such?

Is there any example of smoothCustomBullets with AmStockCharts?

I have successfully implemented this feature in AmCharts but it's not working in AmStockCharts, can I see any example to implement this?
Is there any example of smoothCustomBullets with AmStockCharts?

I am adding smoothCustomBullets object to StockChart first panel.

var smoothCustomBullets = {
"borderRadius": "auto",
"fillAlpha": 0,
"fillColor": undefined,
"borderAlpha": 0,
"borderColor": undefined,
"borderThickness": undefined,
"borderLinejoin": undefined,
"borderLinecap": undefined,
"borderDasharray": undefined,
"positiveOffset": 0,
"negativeOffset": 0
}
chart.panels[0].smoothCustomBullets = smoothCustomBullets;
chart.panels[0].stockGraphs[0].customBulletField = "customBullet";

[datepadding] Problem with empty dataprovider

Similar to bestFitLine if dataprovider is empty, datapadding throws error. Everything works fine without it.
(http://localhost:3000/assets/amcharts/plugins/datePadding/datePadding.js:105:22)
at Object.AmCharts.datePaddingProcess (http://localhost:3000/assets/amcharts/plugins/datePadding/datePadding.js:235:3)
at Object.method (http://localhost:3000/assets/amcharts/plugins/datePadding/datePadding.js:299:13)

function processData( axis, dataProvider, categoryField, dataDateFormat ) {

    // get first and last dates, min period in milliseconds
    var firstDate = getDate(
            dataProvider[ 0 ][ categoryField ],
            dataDateFormat ),
        lastDate = getDate(
            dataProvider[ dataProvider.length - 1 ][ categoryField ],
            dataDateFormat ),
        sampleFormat = dataProvider[ 0 ][ categoryField ];

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.