You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/03/16 10:21:14 UTC

[GitHub] [incubator-echarts] visyone opened a new issue #12282: EchartOption

visyone opened a new issue #12282: EchartOption<EchartOption.SeriesGauge>
URL: https://github.com/apache/incubator-echarts/issues/12282
 
 
   ### Version
   4.6.0
   
   ### Steps to reproduce
   In combination with @types/echarts => 4.4.3
   I define the Gauge options in this way:
   
   <pre>
   export const GAUGE_DEFAULT_OPTIONS: EChartOption<EChartOption.SeriesGauge> = {
     series: [
       {
         type: 'gauge',
         data: [ { value: Math.floor(Math.random() * 100), name: "GAUGE" } ],
         radius: "90%",
         animation: true,
         name: '',
         detail: {
           fontSize: 30,
           offsetCenter: [0, "80%"]
         },
         min: 0,
         max: 100,
         splitNumber: 10,
         axisLine: {
           lineStyle: {
             color: [[0.2, '#91c7ae'], [0.8, '#63869e'], [1, '#c23531']],
             width: 15
           }
         },
         axisTick: {
           show: false,
         },
         axisLabel: {
           formatter: value => {
             value = Math.round(value * 100) / 100;
             return value;
           },
           fontSize: 15
         },
         splitLine: {
           show: false,
         },
         pointer: {
           length: "90%",
           width: 6
         },
         title: {
           show: true,
           offsetCenter: [0, '-30%'],
           fontSize: 15
         },
       }
     ]
   }
   </pre>
   
   ### What is expected?
   Field data is recognized
   
   ### What is actually happening?
   The object filed 'data' is not recognized.
   Seams that is not exported from the SeriesGauge object
   
   ---
   The way I use for define the Gauge options with series is not compliant whit the EChartOption<EChartOption.SeriesGauge> definition, but the in the [documentation](https://echarts.apache.org/en/option.html#series-gauge) there is.
   Where is the issue?
   
   Thanks a lot
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ovilia edited a comment on issue #12282: EchartOption

Posted by GitBox <gi...@apache.org>.
Ovilia edited a comment on issue #12282: EchartOption<EchartOption.SeriesGauge>
URL: https://github.com/apache/incubator-echarts/issues/12282#issuecomment-602347231
 
 
   The correct place to change and report bug is https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/echarts .
   
   I would suggest making a pull request in that project.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ovilia commented on issue #12282: EchartOption

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12282: EchartOption<EchartOption.SeriesGauge>
URL: https://github.com/apache/incubator-echarts/issues/12282#issuecomment-602347231
 
 
   The correct place to change and report bug is https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/echarts .

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ovilia closed issue #12282: EchartOption

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #12282: EchartOption<EchartOption.SeriesGauge>
URL: https://github.com/apache/incubator-echarts/issues/12282
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org