Hi Team, We have recently upgraded our GoodData v...
# gooddata-ui
p
Hi Team, We have recently upgraded our GoodData version to 10.13.0. We see that there are clustering objects in the Insight Property controls now. However, we only see the enabled flag there. Even after enabling clustering from the Analytical Designer, the clustering configuration values, such as numberOfClusters and threshold, are not appearing. Could you please confirm whether this is a known issue or if there is any fix for it? Thank you!
m
Hi Prashant, may I know how are you enabling the clustering configuration? Please note that in GoodData UI you will need to enable it from the visualization properties. For example:
Copy code
import "@gooddata/sdk-ui-charts/styles/css/main.css";
import { ScatterPlot } from "@gooddata/sdk-ui-charts";
import * as Md from "./md/full";

const style = { height: 300 };

<div style={style}>
    <ScatterPlot
        xAxisMeasure={Md.$FranchiseFees}
        yAxisMeasure={Md.$FranchisedSales}
        attribute={Md.DateMonth.Short}
        config={{
            clustering: {
                enabled: true,
                numberOfClusters: 3,
                threshold: 0.03,
            },
        }}
    />
</div>;
At this moment, I am not aware of any issues with this property. If you are still unable to see the clustering config, please send us your package.json and ideally provide some minimal reproducer i.e. in form of codesandbox (some templates here) or something similar. This would greatly help us move forward.
p
Hi @Moises Morales, The issue is not with applying the clustering properties; rather, it pertains to retrieving the values of these properties. Within the Insight object, we have a property called "controls" that includes the clustering object, which has an enabled flag set to true or false. However, we are not receiving the values for numberOfClusters and threshold. Thank you!
m
I understand. In that case, please send us your package.json and ideally provide some minimal reproducer i.e. in form of codesandbox (some templates here) or something similar. This would greatly help us move forward.
p
Sure, let me try codesandbox if that work.