You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "FlyoverBlind (via GitHub)" <gi...@apache.org> on 2024/05/07 11:09:44 UTC
[I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
FlyoverBlind opened a new issue, #19903:
URL: https://github.com/apache/echarts/issues/19903
### Version
5.5.0
### Link to Minimal Reproduction
geo.select.disabled 设置为true,不生效
### Steps to Reproduce
geo.select.disabled 设置为true,不生效
### Current Behavior
geo.select.disabled 设置为true,不生效
### Expected Behavior
geo.select.disabled 设置为true,不生效
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "FlyoverBlind (via GitHub)" <gi...@apache.org>.
FlyoverBlind commented on issue #19903:
URL: https://github.com/apache/echarts/issues/19903#issuecomment-2100275759
this is ok
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19903:
URL: https://github.com/apache/echarts/issues/19903#issuecomment-2099774416
And here is the opposite - to select from data and from _dispatch_ action - [Demo](https://echarts.apache.org/examples/en/editor.html?code=CYQwLiCMC8AEDaAoWsDesB2IC2BTAXLAOQCCANiAEY4hEA0sAbiGQK4GwAsAHAEy-wAvnWRpMODkQDyACwCWAe3pMW7QpADsAZkhCRKdFjyFSAJzkAvBVmXM2HAGwBWJ1oYBnXGVwBjMLmBCVGA5dypvQgAzFk9BPVFDCRMSUwBrEAww91tVDl4ATk58-INxY2IAYRY5SIVTDDlaBjs1WG4ABk5dYQSyyQqFMjqQYCVm3MInSG4NDy9ff0C0ELDKCNhoslj4gF0AbkREbABPCpkQUzAAOncZBQB3ABkFEbkMAHMACgBKA4ASK7vXBgT4AJSkUgAKgB9AAKJEhAAlYABqYgAelAEHRIHcnjA6KBCnRAFUAMokK4AK3c1mUkVYGD8igwsE-rDCAClaRhvmhRCczhdrvJgLhnq8Pj8DihfOdLu4rqZcO9Qv5TABZEAAB0-RHJJGUHJA3OsDFQohQ5Fx6SCKG8kTAhAAtJAdAwwAptYReE4GPc5MAwDJ1E4SkJfqJPe8yHAwKZ2DLYF6wCzYHALSgUIxQqwWFrvfys1mHU7iOZ3jIwMpsG9CO0GLBsCAAB6EDrtBuWrNvUEZIF2nyDOqEeDlgLKIjHLxDe5EWA7ITd4Swbuecy4dyj7ulMDHbWSZvams6kwG5RWBTYH0MUwva-wePsfTFrOebx-AIahRikzYVhkKm2rePQO5vvMfh2mBxZyP42Bknu6yoEOQymPgRDNkCGAQMolB1GKpgDKh6HKsAuH4bgpgAOqBsG-BaII0Hhq-sBYiAhBsZAYGMcWOyiIISaCvK1z4lI2qptYnwpiykYoEJwpXCs2rgD4MgkMykmoHuB4mO-CzKGxA
CSGBim2CANloi6CJG1l7EAA).
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "FlyoverBlind (via GitHub)" <gi...@apache.org>.
FlyoverBlind closed issue #19903: [Bug] geo.select.disabled 设置为true,不生效
URL: https://github.com/apache/echarts/issues/19903
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "FlyoverBlind (via GitHub)" <gi...@apache.org>.
FlyoverBlind commented on issue #19903:
URL: https://github.com/apache/echarts/issues/19903#issuecomment-2099592473
> Did you forget to set also [selectedMode](https://echarts.apache.org/en/option.html#geo.selectedMode) ?
this is my code `myChart.showLoading();
$.get(ROOT_PATH + '/data/asset/geo/HK.json', function (geoJson) {
myChart.hideLoading();
echarts.registerMap('HK', geoJson);
myChart.setOption(
(option = {
title: {
text: 'Population Density of Hong Kong (2011)',
subtext: 'Data from Wikipedia',
sublink:
'http://zh.wikipedia.org/wiki/%E9%A6%99%E6%B8%AF%E8%A1%8C%E6%94%BF%E5%8D%80%E5%8A%83#cite_note-12'
},
tooltip: {
trigger: 'item',
formatter: '{b}<br/>{c} (p / km2)'
},
toolbox: {
show: true,
orient: 'vertical',
left: 'right',
top: 'center',
feature: {
dataView: { readOnly: false },
restore: {},
saveAsImage: {}
}
},
visualMap: {
min: 800,
max: 50000,
text: ['High', 'Low'],
realtime: false,
calculable: true,
inRange: {
color: ['lightskyblue', 'yellow', 'orangered']
}
},
geo: {
map: 'HK',
selectedMode: 'multiple',
label: {
show: true
},
emphasis: {
disabled: true
},
select: {
disabled: true
},
},
})
);
});
`
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #19903:
URL: https://github.com/apache/echarts/issues/19903#issuecomment-2098152514
@FlyoverBlind It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] geo.select.disabled is set to true and does not take effect
**BODY**
### Version
5.5.0
### Link to Minimal Reproduction
geo.select.disabled is set to true and does not take effect
### Steps to Reproduce
geo.select.disabled is set to true and does not take effect
### Current Behavior
geo.select.disabled is set to true and does not take effect
### Expected Behavior
geo.select.disabled is set to true and does not take effect
### Environment
```markdown
- OS:
-Browser:
- Framework:
```
### Any additional comments?
_No response_
</details>
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #19903:
URL: https://github.com/apache/echarts/issues/19903#issuecomment-2098322191
@FlyoverBlind Please provide a demo for the issue either with [Official Editor](https://echarts.apache.org/examples/editor.html), [CodePen](https://codepen.io/Ovilia/pen/dyYWXWM), [CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s) or [JSFiddle](https://jsfiddle.net/plainheart/e46ozpqj/7/).
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19903:
URL: https://github.com/apache/echarts/issues/19903#issuecomment-2098915376
Did you forget to set also [selectedMode](https://echarts.apache.org/en/option.html#geo.selectedMode) ?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] geo.select.disabled 设置为true,不生效 [echarts]
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #19903:
URL: https://github.com/apache/echarts/issues/19903#issuecomment-2099618112
根据原始 PR #15534,`select: { disabled: true }` 是为了设置某个数据项禁止选中,如果全部都不希望选中,可以直接设置 `selectedMode` 为 `false`。
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org